Class FeaturestoreOnlineServingServiceGrpc.FeaturestoreOnlineServingServiceBlockingStub (3.4.1)

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

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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestReadFeatureValuesRequest
Returns
TypeDescription
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
NameDescription
requestStreamingReadFeatureValuesRequest
Returns
TypeDescription
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
NameDescription
requestWriteFeatureValuesRequest
Returns
TypeDescription
WriteFeatureValuesResponse