Class FeatureOnlineStoreServiceGrpc.FeatureOnlineStoreServiceBlockingStub (3.79.0)

public static final class FeatureOnlineStoreServiceGrpc.FeatureOnlineStoreServiceBlockingStub extends AbstractBlockingStub<FeatureOnlineStoreServiceGrpc.FeatureOnlineStoreServiceBlockingStub>

A stub to allow clients to do limited synchronous 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.AbstractBlockingStub > FeatureOnlineStoreServiceGrpc.FeatureOnlineStoreServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

fetchFeatureValues(FetchFeatureValuesRequest request)

public FetchFeatureValuesResponse fetchFeatureValues(FetchFeatureValuesRequest request)

Fetch feature values under a FeatureView.

Parameter
Name Description
request FetchFeatureValuesRequest
Returns
Type Description
FetchFeatureValuesResponse

generateFetchAccessToken(GenerateFetchAccessTokenRequest request)

public 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
GenerateFetchAccessTokenResponse

searchNearestEntities(SearchNearestEntitiesRequest request)

public 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
SearchNearestEntitiesResponse