Class EnhancedBigtableTableAdminStub (2.78.1)

public class EnhancedBigtableTableAdminStub extends GrpcBigtableTableAdminStub

Extension of the autogenerated GrpcBigtableTableAdminStub. It acts as a decorator to add enhanced abilities to the autogenerated stub.

This class is considered an internal implementation detail and not meant to be used by applications.

Inheritance

java.lang.Object > BigtableTableAdminStub > GrpcBigtableTableAdminStub > EnhancedBigtableTableAdminStub

Static Methods

createEnhanced(BigtableTableAdminStubSettings settings)

public static EnhancedBigtableTableAdminStub createEnhanced(BigtableTableAdminStubSettings settings)

Creates an instance of EnhancedBigtableTableAdminStub using the provided settings. This variant is used by the V2 client stack which relies on fully qualified table names and therefore does not require a TableAdminRequestContext.

Parameter
Name Description
settings BigtableTableAdminStubSettings

The settings used to configure the stub.

Returns
Type Description
EnhancedBigtableTableAdminStub

A new instance of EnhancedBigtableTableAdminStub.

Exceptions
Type Description
IOException

If there are errors creating the underlying client context.

createEnhanced(BigtableTableAdminStubSettings settings, TableAdminRequestContext requestContext)

public static EnhancedBigtableTableAdminStub createEnhanced(BigtableTableAdminStubSettings settings, TableAdminRequestContext requestContext)

Creates an instance of EnhancedBigtableTableAdminStub using the provided settings. This variant is used by the legacy client stack which relies on short table IDs and requires a TableAdminRequestContext to construct fully qualified table names.

Parameters
Name Description
settings BigtableTableAdminStubSettings

The settings used to configure the stub.

requestContext com.google.cloud.bigtable.data.v2.internal.TableAdminRequestContext

The context used to format short table IDs.

Returns
Type Description
EnhancedBigtableTableAdminStub

A new instance of EnhancedBigtableTableAdminStub.

Exceptions
Type Description
IOException

If there are errors creating the underlying client context.

Methods

awaitConsistencyCallable()

public UnaryCallable<ConsistencyRequest,Void> awaitConsistencyCallable()
Returns
Type Description
UnaryCallable<ConsistencyRequest,Void>

awaitOptimizeRestoredTableCallable()

public OperationCallable<Void,Empty,OptimizeRestoredTableMetadata> awaitOptimizeRestoredTableCallable()
Returns
Type Description
OperationCallable<Void,Empty,com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata>

awaitReplicationCallable() (deprecated)

public UnaryCallable<TableName,Void> awaitReplicationCallable()
Returns
Type Description
UnaryCallable<com.google.bigtable.admin.v2.TableName,Void>