Class FeaturestoreOnlineServingServiceGrpc.FeaturestoreOnlineServingServiceBlockingStub (3.44.0)

public static final class FeaturestoreOnlineServingServiceGrpc.FeaturestoreOnlineServingServiceBlockingStub extends AbstractBlockingStub<FeaturestoreOnlineServingServiceGrpc.FeaturestoreOnlineServingServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service FeaturestoreOnlineServingService.

A service for serving online feature values.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > FeaturestoreOnlineServingServiceGrpc.FeaturestoreOnlineServingServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

readFeatureValues(ReadFeatureValuesRequest request)

public ReadFeatureValuesResponse readFeatureValues(ReadFeatureValuesRequest request)

Reads Feature values of a specific entity of an EntityType. For reading feature values of multiple entities of an EntityType, please use StreamingReadFeatureValues.

Parameter
Name Description
request ReadFeatureValuesRequest
Returns
Type Description
ReadFeatureValuesResponse

streamingReadFeatureValues(StreamingReadFeatureValuesRequest request)

public Iterator<ReadFeatureValuesResponse> streamingReadFeatureValues(StreamingReadFeatureValuesRequest request)

Reads Feature values for multiple entities. Depending on their size, data for different entities may be broken up across multiple responses.

Parameter
Name Description
request StreamingReadFeatureValuesRequest
Returns
Type Description
Iterator<ReadFeatureValuesResponse>

writeFeatureValues(WriteFeatureValuesRequest request)

public WriteFeatureValuesResponse writeFeatureValues(WriteFeatureValuesRequest request)

Writes Feature values of one or more entities of an EntityType. The Feature values are merged into existing entities if any. The Feature values to be written must have timestamp within the online storage retention.

Parameter
Name Description
request WriteFeatureValuesRequest
Returns
Type Description
WriteFeatureValuesResponse