@InternalApi public class EnhancedBigtableStub extends Object implements AutoCloseable
This class consists of a set of Callable chains that represent RPC methods. There is a chain
for each RPC method. Each chain starts with a transformation that takes a protobuf wrapper and
terminates in a Callable from GrpcBigtableStub. This class is meant to be a semantically
complete facade for the Bigtable data API. However it is not meant to be consumed directly,
please use BigtableDataClient.
This class is considered an internal implementation detail and not meant to be used by applications.
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.UnaryCallable<RowMutation,Void> |
bulkMutateRowsBatchingCallable()
Returns the callable chain created in
createBulkMutateRowsBatchingCallable() ()}
during stub construction. |
com.google.api.gax.rpc.UnaryCallable<BulkMutation,Void> |
bulkMutateRowsCallable()
Returns the callable chain created in
createBulkMutateRowsCallable() ()} during stub
construction. |
com.google.api.gax.rpc.UnaryCallable<ConditionalRowMutation,Boolean> |
checkAndMutateRowCallable()
Returns the callable chain created in
createCheckAndMutateRowCallable() during stub
construction. |
void |
close() |
static EnhancedBigtableStub |
create(EnhancedBigtableStubSettings settings) |
<RowT> com.google.api.gax.rpc.ServerStreamingCallable<Query,RowT> |
createReadRowsCallable(RowAdapter<RowT> rowAdapter)
Creates a callable chain to handle ReadRows RPCs.
|
com.google.api.gax.rpc.UnaryCallable<RowMutation,Void> |
mutateRowCallable() |
com.google.api.gax.rpc.UnaryCallable<ReadModifyWriteRow,Row> |
readModifyWriteRowCallable()
Returns the callable chain created in
createReadModifyWriteRowCallable() ()} during
stub construction. |
com.google.api.gax.rpc.ServerStreamingCallable<Query,Row> |
readRowsCallable() |
com.google.api.gax.rpc.UnaryCallable<String,List<KeyOffset>> |
sampleRowKeysCallable() |
public static EnhancedBigtableStub create(EnhancedBigtableStubSettings settings) throws IOException
IOExceptionpublic <RowT> com.google.api.gax.rpc.ServerStreamingCallable<Query,RowT> createReadRowsCallable(RowAdapter<RowT> rowAdapter)
Query into a ReadRowsRequest and
dispatch the RPC.
ReadRowsResponse.CellChunks in logical rows. The actual row
implementation can be configured in by the rowAdapter parameter.
public com.google.api.gax.rpc.ServerStreamingCallable<Query,Row> readRowsCallable()
public com.google.api.gax.rpc.UnaryCallable<String,List<KeyOffset>> sampleRowKeysCallable()
public com.google.api.gax.rpc.UnaryCallable<RowMutation,Void> mutateRowCallable()
public com.google.api.gax.rpc.UnaryCallable<BulkMutation,Void> bulkMutateRowsCallable()
createBulkMutateRowsCallable() ()} during stub
construction.public com.google.api.gax.rpc.UnaryCallable<RowMutation,Void> bulkMutateRowsBatchingCallable()
createBulkMutateRowsBatchingCallable() ()}
during stub construction.public com.google.api.gax.rpc.UnaryCallable<ConditionalRowMutation,Boolean> checkAndMutateRowCallable()
createCheckAndMutateRowCallable() during stub
construction.public com.google.api.gax.rpc.UnaryCallable<ReadModifyWriteRow,Row> readModifyWriteRowCallable()
createReadModifyWriteRowCallable() ()} during
stub construction.public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2018 Google LLC. All rights reserved.