public static final class FeaturestoreServiceGrpc.FeaturestoreServiceStub extends AbstractAsyncStub<FeaturestoreServiceGrpc.FeaturestoreServiceStub>
The service that handles CRUD and List for resources for Featurestore.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
FeaturestoreServiceGrpc.FeaturestoreServiceStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
public void batchCreateFeatures(BatchCreateFeaturesRequest request, StreamObserver<Operation> responseObserver)
Creates a batch of Features in a given EntityType.
Parameters
public void batchReadFeatureValues(BatchReadFeatureValuesRequest request, StreamObserver<Operation> responseObserver)
Batch reads Feature values from a Featurestore.
This API enables batch reading Feature values, where each read
instance in the batch may read Feature values of entities from one or
more EntityTypes. Point-in-time correctness is guaranteed for Feature
values of each read instance as of each instance's read timestamp.
Parameters
protected FeaturestoreServiceGrpc.FeaturestoreServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public void createEntityType(CreateEntityTypeRequest request, StreamObserver<Operation> responseObserver)
Creates a new EntityType in a given Featurestore.
Parameters
public void createFeature(CreateFeatureRequest request, StreamObserver<Operation> responseObserver)
Creates a new Feature in a given EntityType.
Parameters
public void createFeaturestore(CreateFeaturestoreRequest request, StreamObserver<Operation> responseObserver)
Creates a new Featurestore in a given project and location.
Parameters
public void deleteEntityType(DeleteEntityTypeRequest request, StreamObserver<Operation> responseObserver)
Deletes a single EntityType. The EntityType must not have any Features
or force
must be set to true for the request to succeed.
Parameters
public void deleteFeature(DeleteFeatureRequest request, StreamObserver<Operation> responseObserver)
Deletes a single Feature.
Parameters
public void deleteFeaturestore(DeleteFeaturestoreRequest request, StreamObserver<Operation> responseObserver)
Deletes a single Featurestore. The Featurestore must not contain any
EntityTypes or force
must be set to true for the request to succeed.
Parameters
public void exportFeatureValues(ExportFeatureValuesRequest request, StreamObserver<Operation> responseObserver)
Exports Feature values from all the entities of a target EntityType.
Parameters
public void getEntityType(GetEntityTypeRequest request, StreamObserver<EntityType> responseObserver)
Gets details of a single EntityType.
Parameters
public void getFeature(GetFeatureRequest request, StreamObserver<Feature> responseObserver)
Gets details of a single Feature.
Parameters
public void getFeaturestore(GetFeaturestoreRequest request, StreamObserver<Featurestore> responseObserver)
Gets details of a single Featurestore.
Parameters
public void importFeatureValues(ImportFeatureValuesRequest request, StreamObserver<Operation> responseObserver)
Imports Feature values into the Featurestore from a source storage.
The progress of the import is tracked by the returned operation. The
imported features are guaranteed to be visible to subsequent read
operations after the operation is marked as successfully done.
If an import operation fails, the Feature values returned from
reads and exports may be inconsistent. If consistency is
required, the caller must retry the same import request again and wait till
the new operation returned is marked as successfully done.
There are also scenarios where the caller can cause inconsistency.
- Source data for import contains multiple distinct Feature values for
the same entity ID and timestamp.
- Source is modified during an import. This includes adding, updating, or
removing source data and/or metadata. Examples of updating metadata
include but are not limited to changing storage location, storage class,
or retention policy.
- Online serving cluster is under-provisioned.
Parameters
public void listEntityTypes(ListEntityTypesRequest request, StreamObserver<ListEntityTypesResponse> responseObserver)
Lists EntityTypes in a given Featurestore.
Parameters
public void listFeatures(ListFeaturesRequest request, StreamObserver<ListFeaturesResponse> responseObserver)
Lists Features in a given EntityType.
Parameters
public void listFeaturestores(ListFeaturestoresRequest request, StreamObserver<ListFeaturestoresResponse> responseObserver)
Lists Featurestores in a given project and location.
Parameters
public void searchFeatures(SearchFeaturesRequest request, StreamObserver<SearchFeaturesResponse> responseObserver)
Searches Features matching a query in a given project.
Parameters
public void updateEntityType(UpdateEntityTypeRequest request, StreamObserver<EntityType> responseObserver)
Updates the parameters of a single EntityType.
Parameters
public void updateFeature(UpdateFeatureRequest request, StreamObserver<Feature> responseObserver)
Updates the parameters of a single Feature.
Parameters
public void updateFeaturestore(UpdateFeaturestoreRequest request, StreamObserver<Operation> responseObserver)
Updates the parameters of a single Featurestore.
Parameters