Class FeatureOnlineStoreServiceGrpc.FeatureOnlineStoreServiceStub (3.49.0)

public static final class FeatureOnlineStoreServiceGrpc.FeatureOnlineStoreServiceStub extends AbstractAsyncStub<FeatureOnlineStoreServiceGrpc.FeatureOnlineStoreServiceStub>

A stub to allow clients to do asynchronous rpc calls to service FeatureOnlineStoreService.

A service for fetching feature values from the online store.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > FeatureOnlineStoreServiceGrpc.FeatureOnlineStoreServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected FeatureOnlineStoreServiceGrpc.FeatureOnlineStoreServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
FeatureOnlineStoreServiceGrpc.FeatureOnlineStoreServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

fetchFeatureValues(FetchFeatureValuesRequest request, StreamObserver<FetchFeatureValuesResponse> responseObserver)

public void fetchFeatureValues(FetchFeatureValuesRequest request, StreamObserver<FetchFeatureValuesResponse> responseObserver)

Fetch feature values under a FeatureView.

Parameters
Name Description
request FetchFeatureValuesRequest
responseObserver io.grpc.stub.StreamObserver<FetchFeatureValuesResponse>

searchNearestEntities(SearchNearestEntitiesRequest request, StreamObserver<SearchNearestEntitiesResponse> responseObserver)

public void searchNearestEntities(SearchNearestEntitiesRequest request, StreamObserver<SearchNearestEntitiesResponse> responseObserver)

Search the nearest entities under a FeatureView. Search only works for indexable feature view; if a feature view isn't indexable, returns Invalid argument response.

Parameters
Name Description
request SearchNearestEntitiesRequest
responseObserver io.grpc.stub.StreamObserver<SearchNearestEntitiesResponse>

streamingFetchFeatureValues(StreamObserver<StreamingFetchFeatureValuesResponse> responseObserver)

public StreamObserver<StreamingFetchFeatureValuesRequest> streamingFetchFeatureValues(StreamObserver<StreamingFetchFeatureValuesResponse> responseObserver)

Bidirectional streaming RPC to fetch feature values under a FeatureView. Requests may not have a one-to-one mapping to responses and responses may be returned out-of-order to reduce latency.

Parameter
Name Description
responseObserver io.grpc.stub.StreamObserver<StreamingFetchFeatureValuesResponse>
Returns
Type Description
io.grpc.stub.StreamObserver<StreamingFetchFeatureValuesRequest>