@InternalExtensionOnly
public interface BigtableDataClient
Modifier and Type | Method and Description |
---|---|
com.google.bigtable.v2.CheckAndMutateRowResponse |
checkAndMutateRow(com.google.bigtable.v2.CheckAndMutateRowRequest request)
Mutate a row atomically dependent on a precondition.
|
com.google.common.util.concurrent.ListenableFuture<com.google.bigtable.v2.CheckAndMutateRowResponse> |
checkAndMutateRowAsync(com.google.bigtable.v2.CheckAndMutateRowRequest request)
Mutate a row atomically dependent on a precondition.
|
com.google.bigtable.v2.MutateRowResponse |
mutateRow(com.google.bigtable.v2.MutateRowRequest request)
Mutate a row atomically.
|
com.google.common.util.concurrent.ListenableFuture<com.google.bigtable.v2.MutateRowResponse> |
mutateRowAsync(com.google.bigtable.v2.MutateRowRequest request)
Mutate a row atomically.
|
List<com.google.bigtable.v2.MutateRowsResponse> |
mutateRows(com.google.bigtable.v2.MutateRowsRequest request)
Mutates multiple rows in a batch.
|
com.google.common.util.concurrent.ListenableFuture<List<com.google.bigtable.v2.MutateRowsResponse>> |
mutateRowsAsync(com.google.bigtable.v2.MutateRowsRequest request)
Mutates multiple rows in a batch.
|
ResultScanner<FlatRow> |
readFlatRows(com.google.bigtable.v2.ReadRowsRequest request)
Perform a scan over
FlatRow s, in key order. |
ScanHandler |
readFlatRows(com.google.bigtable.v2.ReadRowsRequest request,
io.grpc.stub.StreamObserver<FlatRow> observer)
Perform a streaming read of
FlatRow s in key order. |
com.google.common.util.concurrent.ListenableFuture<List<FlatRow>> |
readFlatRowsAsync(com.google.bigtable.v2.ReadRowsRequest request)
Read multiple
FlatRow s into an in-memory list, in key order. |
List<FlatRow> |
readFlatRowsList(com.google.bigtable.v2.ReadRowsRequest request)
Returns a list of
FlatRow s, in key order. |
com.google.bigtable.v2.ReadModifyWriteRowResponse |
readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request)
Perform an atomic read-modify-write operation on a row.
|
com.google.common.util.concurrent.ListenableFuture<com.google.bigtable.v2.ReadModifyWriteRowResponse> |
readModifyWriteRowAsync(com.google.bigtable.v2.ReadModifyWriteRowRequest request)
Perform an atomic read-modify-write operation on a row,
|
ResultScanner<com.google.bigtable.v2.Row> |
readRows(com.google.bigtable.v2.ReadRowsRequest request)
Perform a scan over
Row s, in key order. |
com.google.common.util.concurrent.ListenableFuture<List<com.google.bigtable.v2.Row>> |
readRowsAsync(com.google.bigtable.v2.ReadRowsRequest request)
Read multiple
Row s into an in-memory list, in key order. |
List<com.google.bigtable.v2.SampleRowKeysResponse> |
sampleRowKeys(com.google.bigtable.v2.SampleRowKeysRequest request)
Sample row keys from a table.
|
com.google.common.util.concurrent.ListenableFuture<List<com.google.bigtable.v2.SampleRowKeysResponse>> |
sampleRowKeysAsync(com.google.bigtable.v2.SampleRowKeysRequest request)
Sample row keys from a table, returning a Future that will complete when the sampling has
completed.
|
void |
setCallOptionsFactory(CallOptionsFactory callOptionsFactory)
Sets a
CallOptionsFactory which creates CallOptions |
com.google.bigtable.v2.MutateRowResponse mutateRow(com.google.bigtable.v2.MutateRowRequest request)
request
- a MutateRowRequest
object.MutateRowResponse
object.com.google.common.util.concurrent.ListenableFuture<com.google.bigtable.v2.MutateRowResponse> mutateRowAsync(com.google.bigtable.v2.MutateRowRequest request)
request
- a MutateRowRequest
object.ListenableFuture
that will finish when the
mutation has completed.List<com.google.bigtable.v2.MutateRowsResponse> mutateRows(com.google.bigtable.v2.MutateRowsRequest request)
request
- a MutateRowsRequest
object.List
object.com.google.common.util.concurrent.ListenableFuture<List<com.google.bigtable.v2.MutateRowsResponse>> mutateRowsAsync(com.google.bigtable.v2.MutateRowsRequest request)
request
- a MutateRowsRequest
object.ListenableFuture
that will finish when the
mutations have all been completed.com.google.bigtable.v2.CheckAndMutateRowResponse checkAndMutateRow(com.google.bigtable.v2.CheckAndMutateRowRequest request)
request
- a CheckAndMutateRowRequest
object.CheckAndMutateRowResponse
object.com.google.common.util.concurrent.ListenableFuture<com.google.bigtable.v2.CheckAndMutateRowResponse> checkAndMutateRowAsync(com.google.bigtable.v2.CheckAndMutateRowRequest request)
request
- a CheckAndMutateRowRequest
object.ListenableFuture
that will finish when the
mutation has completed.com.google.bigtable.v2.ReadModifyWriteRowResponse readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request)
request
- a ReadModifyWriteRowRequest
object.ReadModifyWriteRowResponse
object.com.google.common.util.concurrent.ListenableFuture<com.google.bigtable.v2.ReadModifyWriteRowResponse> readModifyWriteRowAsync(com.google.bigtable.v2.ReadModifyWriteRowRequest request)
request
- a ReadModifyWriteRowRequest
object.ListenableFuture
that will finish when the
mutation has completed.List<com.google.bigtable.v2.SampleRowKeysResponse> sampleRowKeys(com.google.bigtable.v2.SampleRowKeysRequest request)
request
- a SampleRowKeysRequest
object.List
object.com.google.common.util.concurrent.ListenableFuture<List<com.google.bigtable.v2.SampleRowKeysResponse>> sampleRowKeysAsync(com.google.bigtable.v2.SampleRowKeysRequest request)
request
- a SampleRowKeysRequest
object.ListenableFuture
object.ResultScanner<com.google.bigtable.v2.Row> readRows(com.google.bigtable.v2.ReadRowsRequest request)
Row
s, in key order.request
- a ReadRowsRequest
object.ResultScanner
object.com.google.common.util.concurrent.ListenableFuture<List<com.google.bigtable.v2.Row>> readRowsAsync(com.google.bigtable.v2.ReadRowsRequest request)
Row
s into an in-memory list, in key order.request
- a ReadRowsRequest
object.ListenableFuture
that will finish when all
reads have completed.List<FlatRow> readFlatRowsList(com.google.bigtable.v2.ReadRowsRequest request)
FlatRow
s, in key order.request
- a ReadRowsRequest
object.FlatRow
s.ResultScanner<FlatRow> readFlatRows(com.google.bigtable.v2.ReadRowsRequest request)
FlatRow
s, in key order.request
- a ReadRowsRequest
object.ResultScanner
object.ScanHandler readFlatRows(com.google.bigtable.v2.ReadRowsRequest request, io.grpc.stub.StreamObserver<FlatRow> observer)
FlatRow
s in key order. It would be a good idea to turn on
client side timeouts via CallOptionsConfig.Builder.setUseTimeout(boolean)
.request
- a ReadRowsRequest
object.observer
- a StreamObserver
objectScanHandler
which can be used to either cancel or timeout the request.com.google.common.util.concurrent.ListenableFuture<List<FlatRow>> readFlatRowsAsync(com.google.bigtable.v2.ReadRowsRequest request)
FlatRow
s into an in-memory list, in key order.request
- a ReadRowsRequest
object.ListenableFuture
that will finish when all
reads have completed.@InternalApi(value="For internal usage only") void setCallOptionsFactory(CallOptionsFactory callOptionsFactory)
CallOptionsFactory
which creates CallOptions
For internal use only - public for technical reasons.