Interface FeaturestoreOnlineServingServiceGrpc.AsyncService (3.20.0)

public static interface FeaturestoreOnlineServingServiceGrpc.AsyncService

A service for serving online feature values.

Methods

readFeatureValues(ReadFeatureValuesRequest request, StreamObserver<ReadFeatureValuesResponse> responseObserver)

public default 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
NameDescription
requestReadFeatureValuesRequest
responseObserverio.grpc.stub.StreamObserver<ReadFeatureValuesResponse>

streamingReadFeatureValues(StreamingReadFeatureValuesRequest request, StreamObserver<ReadFeatureValuesResponse> responseObserver)

public default 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
NameDescription
requestStreamingReadFeatureValuesRequest
responseObserverio.grpc.stub.StreamObserver<ReadFeatureValuesResponse>

writeFeatureValues(WriteFeatureValuesRequest request, StreamObserver<WriteFeatureValuesResponse> responseObserver)

public default 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
NameDescription
requestWriteFeatureValuesRequest
responseObserverio.grpc.stub.StreamObserver<WriteFeatureValuesResponse>