Class FeatureOnlineStoreServiceGrpc.FeatureOnlineStoreServiceFutureStub (3.79.0)

public static final class FeatureOnlineStoreServiceGrpc.FeatureOnlineStoreServiceFutureStub extends AbstractFutureStub<FeatureOnlineStoreServiceGrpc.FeatureOnlineStoreServiceFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > FeatureOnlineStoreServiceGrpc.FeatureOnlineStoreServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

fetchFeatureValues(FetchFeatureValuesRequest request)

public ListenableFuture<FetchFeatureValuesResponse> fetchFeatureValues(FetchFeatureValuesRequest request)

Fetch feature values under a FeatureView.

Parameter
Name Description
request FetchFeatureValuesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<FetchFeatureValuesResponse>

generateFetchAccessToken(GenerateFetchAccessTokenRequest request)

public ListenableFuture<GenerateFetchAccessTokenResponse> generateFetchAccessToken(GenerateFetchAccessTokenRequest request)

RPC to generate an access token for the given feature view. FeatureViews under the same FeatureOnlineStore share the same access token.

Parameter
Name Description
request GenerateFetchAccessTokenRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<GenerateFetchAccessTokenResponse>

searchNearestEntities(SearchNearestEntitiesRequest request)

public ListenableFuture<SearchNearestEntitiesResponse> searchNearestEntities(SearchNearestEntitiesRequest request)

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.

Parameter
Name Description
request SearchNearestEntitiesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SearchNearestEntitiesResponse>