Class FeaturestoreOnlineServingServiceGrpc.FeaturestoreOnlineServingServiceStub (3.42.0)

public static final class FeaturestoreOnlineServingServiceGrpc.FeaturestoreOnlineServingServiceStub extends AbstractAsyncStub<FeaturestoreOnlineServingServiceGrpc.FeaturestoreOnlineServingServiceStub>

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

A service for serving online feature values.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > FeaturestoreOnlineServingServiceGrpc.FeaturestoreOnlineServingServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

readFeatureValues(ReadFeatureValuesRequest request, StreamObserver<ReadFeatureValuesResponse> responseObserver)

public void readFeatureValues(ReadFeatureValuesRequest request, StreamObserver<ReadFeatureValuesResponse> responseObserver)

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

Parameters
Name Description
request ReadFeatureValuesRequest
responseObserver io.grpc.stub.StreamObserver<ReadFeatureValuesResponse>

streamingReadFeatureValues(StreamingReadFeatureValuesRequest request, StreamObserver<ReadFeatureValuesResponse> responseObserver)

public void streamingReadFeatureValues(StreamingReadFeatureValuesRequest request, StreamObserver<ReadFeatureValuesResponse> responseObserver)

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

Parameters
Name Description
request StreamingReadFeatureValuesRequest
responseObserver io.grpc.stub.StreamObserver<ReadFeatureValuesResponse>

writeFeatureValues(WriteFeatureValuesRequest request, StreamObserver<WriteFeatureValuesResponse> responseObserver)

public void writeFeatureValues(WriteFeatureValuesRequest request, StreamObserver<WriteFeatureValuesResponse> responseObserver)

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.

Parameters
Name Description
request WriteFeatureValuesRequest
responseObserver io.grpc.stub.StreamObserver<WriteFeatureValuesResponse>