Class FeaturestoreServiceGrpc.FeaturestoreServiceFutureStub (3.4.1)

public static final class FeaturestoreServiceGrpc.FeaturestoreServiceFutureStub extends AbstractFutureStub<FeaturestoreServiceGrpc.FeaturestoreServiceFutureStub>

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

Methods

batchCreateFeatures(BatchCreateFeaturesRequest request)

public ListenableFuture<Operation> batchCreateFeatures(BatchCreateFeaturesRequest request)

Creates a batch of Features in a given EntityType.

Parameter
NameDescription
requestBatchCreateFeaturesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

batchReadFeatureValues(BatchReadFeatureValuesRequest request)

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.

Parameter
NameDescription
requestBatchReadFeatureValuesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

build(Channel channel, CallOptions callOptions)

protected FeaturestoreServiceGrpc.FeaturestoreServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
FeaturestoreServiceGrpc.FeaturestoreServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createEntityType(CreateEntityTypeRequest request)

public ListenableFuture<Operation> createEntityType(CreateEntityTypeRequest request)

Creates a new EntityType in a given Featurestore.

Parameter
NameDescription
requestCreateEntityTypeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createFeature(CreateFeatureRequest request)

public ListenableFuture<Operation> createFeature(CreateFeatureRequest request)

Creates a new Feature in a given EntityType.

Parameter
NameDescription
requestCreateFeatureRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createFeaturestore(CreateFeaturestoreRequest request)

public ListenableFuture<Operation> createFeaturestore(CreateFeaturestoreRequest request)

Creates a new Featurestore in a given project and location.

Parameter
NameDescription
requestCreateFeaturestoreRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteEntityType(DeleteEntityTypeRequest request)

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.

Parameter
NameDescription
requestDeleteEntityTypeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteFeature(DeleteFeatureRequest request)

public ListenableFuture<Operation> deleteFeature(DeleteFeatureRequest request)

Deletes a single Feature.

Parameter
NameDescription
requestDeleteFeatureRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteFeatureValues(DeleteFeatureValuesRequest request)

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.

Parameter
NameDescription
requestDeleteFeatureValuesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteFeaturestore(DeleteFeaturestoreRequest request)

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.

Parameter
NameDescription
requestDeleteFeaturestoreRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

exportFeatureValues(ExportFeatureValuesRequest request)

public ListenableFuture<Operation> exportFeatureValues(ExportFeatureValuesRequest request)

Exports Feature values from all the entities of a target EntityType.

Parameter
NameDescription
requestExportFeatureValuesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getEntityType(GetEntityTypeRequest request)

public ListenableFuture<EntityType> getEntityType(GetEntityTypeRequest request)

Gets details of a single EntityType.

Parameter
NameDescription
requestGetEntityTypeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<EntityType>

getFeature(GetFeatureRequest request)

public ListenableFuture<Feature> getFeature(GetFeatureRequest request)

Gets details of a single Feature.

Parameter
NameDescription
requestGetFeatureRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Feature>

getFeaturestore(GetFeaturestoreRequest request)

public ListenableFuture<Featurestore> getFeaturestore(GetFeaturestoreRequest request)

Gets details of a single Featurestore.

Parameter
NameDescription
requestGetFeaturestoreRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Featurestore>

importFeatureValues(ImportFeatureValuesRequest request)

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.
Parameter
NameDescription
requestImportFeatureValuesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

listEntityTypes(ListEntityTypesRequest request)

public ListenableFuture<ListEntityTypesResponse> listEntityTypes(ListEntityTypesRequest request)

Lists EntityTypes in a given Featurestore.

Parameter
NameDescription
requestListEntityTypesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListEntityTypesResponse>

listFeatures(ListFeaturesRequest request)

public ListenableFuture<ListFeaturesResponse> listFeatures(ListFeaturesRequest request)

Lists Features in a given EntityType.

Parameter
NameDescription
requestListFeaturesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListFeaturesResponse>

listFeaturestores(ListFeaturestoresRequest request)

public ListenableFuture<ListFeaturestoresResponse> listFeaturestores(ListFeaturestoresRequest request)

Lists Featurestores in a given project and location.

Parameter
NameDescription
requestListFeaturestoresRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListFeaturestoresResponse>

searchFeatures(SearchFeaturesRequest request)

public ListenableFuture<SearchFeaturesResponse> searchFeatures(SearchFeaturesRequest request)

Searches Features matching a query in a given project.

Parameter
NameDescription
requestSearchFeaturesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SearchFeaturesResponse>

updateEntityType(UpdateEntityTypeRequest request)

public ListenableFuture<EntityType> updateEntityType(UpdateEntityTypeRequest request)

Updates the parameters of a single EntityType.

Parameter
NameDescription
requestUpdateEntityTypeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<EntityType>

updateFeature(UpdateFeatureRequest request)

public ListenableFuture<Feature> updateFeature(UpdateFeatureRequest request)

Updates the parameters of a single Feature.

Parameter
NameDescription
requestUpdateFeatureRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Feature>

updateFeaturestore(UpdateFeaturestoreRequest request)

public ListenableFuture<Operation> updateFeaturestore(UpdateFeaturestoreRequest request)

Updates the parameters of a single Featurestore.

Parameter
NameDescription
requestUpdateFeaturestoreRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>