public static final class FeaturestoreServiceGrpc.FeaturestoreServiceFutureStub extends AbstractFutureStub<FeaturestoreServiceGrpc.FeaturestoreServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service FeaturestoreService.
The service that handles CRUD and List for resources for Featurestore.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
FeaturestoreServiceGrpc.FeaturestoreServiceFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<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.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
public ListenableFuture<Operation> batchCreateFeatures(BatchCreateFeaturesRequest request)
Creates a batch of Features in a given EntityType.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> batchReadFeatureValues(BatchReadFeatureValuesRequest request)
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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
protected FeaturestoreServiceGrpc.FeaturestoreServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public ListenableFuture<Operation> createEntityType(CreateEntityTypeRequest request)
Creates a new EntityType in a given Featurestore.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> createFeature(CreateFeatureRequest request)
Creates a new Feature in a given EntityType.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> createFeaturestore(CreateFeaturestoreRequest request)
Creates a new Featurestore in a given project and location.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> deleteEntityType(DeleteEntityTypeRequest request)
Deletes a single EntityType. The EntityType must not have any Features
or force
must be set to true for the request to succeed.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> deleteFeature(DeleteFeatureRequest request)
Deletes a single Feature.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> deleteFeatureValues(DeleteFeatureValuesRequest request)
Delete Feature values from Featurestore.
The progress of the deletion is tracked by the returned operation. The
deleted feature values are guaranteed to be invisible to subsequent read
operations after the operation is marked as successfully done.
If a delete feature values operation fails, the feature values
returned from reads and exports may be inconsistent. If consistency is
required, the caller must retry the same delete request again and wait till
the new operation returned is marked as successfully done.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> deleteFeaturestore(DeleteFeaturestoreRequest request)
Deletes a single Featurestore. The Featurestore must not contain any
EntityTypes or force
must be set to true for the request to succeed.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> exportFeatureValues(ExportFeatureValuesRequest request)
Exports Feature values from all the entities of a target EntityType.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<EntityType> getEntityType(GetEntityTypeRequest request)
Gets details of a single EntityType.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<EntityType> |
|
public ListenableFuture<Feature> getFeature(GetFeatureRequest request)
Gets details of a single Feature.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Feature> |
|
public ListenableFuture<Featurestore> getFeaturestore(GetFeaturestoreRequest request)
Gets details of a single Featurestore.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Featurestore> |
|
public ListenableFuture<Operation> importFeatureValues(ImportFeatureValuesRequest request)
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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<ListEntityTypesResponse> listEntityTypes(ListEntityTypesRequest request)
Lists EntityTypes in a given Featurestore.
public ListenableFuture<ListFeaturesResponse> listFeatures(ListFeaturesRequest request)
Lists Features in a given EntityType.
public ListenableFuture<ListFeaturestoresResponse> listFeaturestores(ListFeaturestoresRequest request)
Lists Featurestores in a given project and location.
public ListenableFuture<SearchFeaturesResponse> searchFeatures(SearchFeaturesRequest request)
Searches Features matching a query in a given project.
public ListenableFuture<EntityType> updateEntityType(UpdateEntityTypeRequest request)
Updates the parameters of a single EntityType.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<EntityType> |
|
public ListenableFuture<Feature> updateFeature(UpdateFeatureRequest request)
Updates the parameters of a single Feature.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Feature> |
|
public ListenableFuture<Operation> updateFeaturestore(UpdateFeaturestoreRequest request)
Updates the parameters of a single Featurestore.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|