@InternalApi(value="For internal usage only")
public interface IBigtableDataClient
BigtableDataClient
with
Google-Cloud-java's models.
For internal use only - public for technical reasons.
Modifier and Type | Method and Description |
---|---|
Boolean |
checkAndMutateRow(com.google.cloud.bigtable.data.v2.models.ConditionalRowMutation conditionalRowMutation)
Mutate a row atomically dependent on a precondition.
|
com.google.api.core.ApiFuture<Boolean> |
checkAndMutateRowAsync(com.google.cloud.bigtable.data.v2.models.ConditionalRowMutation conditionalRowMutation)
Mutate a row atomically dependent on a precondition.
|
IBulkMutation |
createBulkMutationBatcher(String tableId)
Creates
IBulkMutation batcher. |
void |
mutateRow(com.google.cloud.bigtable.data.v2.models.RowMutation rowMutation)
Mutate a row atomically.
|
com.google.api.core.ApiFuture<Void> |
mutateRowAsync(com.google.cloud.bigtable.data.v2.models.RowMutation rowMutation)
Mutate a row atomically.
|
ResultScanner<FlatRow> |
readFlatRows(com.google.cloud.bigtable.data.v2.models.Query request)
Perform a scan over
FlatRow s, in key order. |
com.google.api.core.ApiFuture<List<FlatRow>> |
readFlatRowsAsync(com.google.cloud.bigtable.data.v2.models.Query request)
Read multiple
FlatRow s into an in-memory list, in key order. |
void |
readFlatRowsAsync(com.google.cloud.bigtable.data.v2.models.Query request,
io.grpc.stub.StreamObserver<FlatRow> observer)
Read
FlatRow asynchronously, and pass them to a stream observer to be processed. |
List<FlatRow> |
readFlatRowsList(com.google.cloud.bigtable.data.v2.models.Query request)
Returns a list of
FlatRow s, in key order. |
com.google.cloud.bigtable.data.v2.models.Row |
readModifyWriteRow(com.google.cloud.bigtable.data.v2.models.ReadModifyWriteRow readModifyWriteRow)
Perform an atomic read-modify-write operation on a row.
|
com.google.api.core.ApiFuture<com.google.cloud.bigtable.data.v2.models.Row> |
readModifyWriteRowAsync(com.google.cloud.bigtable.data.v2.models.ReadModifyWriteRow readModifyWriteRow)
Perform an atomic read-modify-write operation on a row.
|
ResultScanner<com.google.cloud.bigtable.data.v2.models.Row> |
readRows(com.google.cloud.bigtable.data.v2.models.Query request)
Perform a scan over
Row s, in key order. |
com.google.api.core.ApiFuture<List<com.google.cloud.bigtable.data.v2.models.Row>> |
readRowsAsync(com.google.cloud.bigtable.data.v2.models.Query request)
Read multiple
Row s into an in-memory list, in key order. |
List<com.google.cloud.bigtable.data.v2.models.KeyOffset> |
sampleRowKeys(String tableId)
Sample row keys from a table.
|
com.google.api.core.ApiFuture<List<com.google.cloud.bigtable.data.v2.models.KeyOffset>> |
sampleRowKeysAsync(String tableId)
Sample row keys from a table, returning a Future that will complete when the sampling has
completed.
|
void mutateRow(com.google.cloud.bigtable.data.v2.models.RowMutation rowMutation)
rowMutation
- a RowMutation
model object.com.google.api.core.ApiFuture<Void> mutateRowAsync(com.google.cloud.bigtable.data.v2.models.RowMutation rowMutation)
rowMutation
- a RowMutation
model object.ApiFuture
of type Void
will be set when request is successful
otherwise exception will be thrown.com.google.cloud.bigtable.data.v2.models.Row readModifyWriteRow(com.google.cloud.bigtable.data.v2.models.ReadModifyWriteRow readModifyWriteRow)
readModifyWriteRow
- a ReadModifyWriteRow
model object.Row
a modified row.com.google.api.core.ApiFuture<com.google.cloud.bigtable.data.v2.models.Row> readModifyWriteRowAsync(com.google.cloud.bigtable.data.v2.models.ReadModifyWriteRow readModifyWriteRow)
readModifyWriteRow
- a ReadModifyWriteRow
model object.ApiFuture
of type Row
will be set when request is successful
otherwise exception will be thrown.IBulkMutation createBulkMutationBatcher(String tableId)
IBulkMutation
batcher.com.google.api.core.ApiFuture<Boolean> checkAndMutateRowAsync(com.google.cloud.bigtable.data.v2.models.ConditionalRowMutation conditionalRowMutation)
conditionalRowMutation
- a ConditionalRowMutation
model object.ApiFuture
of type Boolean
will be set when request is successful
otherwise exception will be thrown.Boolean checkAndMutateRow(com.google.cloud.bigtable.data.v2.models.ConditionalRowMutation conditionalRowMutation)
conditionalRowMutation
- a ConditionalRowMutation
model object.List<com.google.cloud.bigtable.data.v2.models.KeyOffset> sampleRowKeys(String tableId)
tableId
- a String object.List
object.com.google.api.core.ApiFuture<List<com.google.cloud.bigtable.data.v2.models.KeyOffset>> sampleRowKeysAsync(String tableId)
tableId
- a String object.ApiFuture
object.ResultScanner<com.google.cloud.bigtable.data.v2.models.Row> readRows(com.google.cloud.bigtable.data.v2.models.Query request)
Row
s, in key order.request
- a Query
object.Row
object.com.google.api.core.ApiFuture<List<com.google.cloud.bigtable.data.v2.models.Row>> readRowsAsync(com.google.cloud.bigtable.data.v2.models.Query request)
Row
s into an in-memory list, in key order.request
- a Query
object.ApiFuture
that will finish when all reads have completed.List<FlatRow> readFlatRowsList(com.google.cloud.bigtable.data.v2.models.Query request)
FlatRow
s, in key order.request
- a Query
object.FlatRow
s.ResultScanner<FlatRow> readFlatRows(com.google.cloud.bigtable.data.v2.models.Query request)
FlatRow
s, in key order.request
- a Query
object.ResultScanner
object.com.google.api.core.ApiFuture<List<FlatRow>> readFlatRowsAsync(com.google.cloud.bigtable.data.v2.models.Query request)
FlatRow
s into an in-memory list, in key order.request
- a Query
object.ApiFuture
that will finish when all reads have completed.