Package com.google.bigtable.v2
Class BigtableGrpc.BigtableFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<BigtableGrpc.BigtableFutureStub>
-
- com.google.bigtable.v2.BigtableGrpc.BigtableFutureStub
-
- Enclosing class:
- BigtableGrpc
public static final class BigtableGrpc.BigtableFutureStub extends io.grpc.stub.AbstractFutureStub<BigtableGrpc.BigtableFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Bigtable.Service for reading from and writing to existing Bigtable tables.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BigtableGrpc.BigtableFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<CheckAndMutateRowResponse>
checkAndMutateRow(CheckAndMutateRowRequest request)
Mutates a row atomically based on the output of a predicate Reader filter.com.google.common.util.concurrent.ListenableFuture<MutateRowResponse>
mutateRow(MutateRowRequest request)
Mutates a row atomically.com.google.common.util.concurrent.ListenableFuture<PingAndWarmResponse>
pingAndWarm(PingAndWarmRequest request)
Warm up associated instance metadata for this connection.com.google.common.util.concurrent.ListenableFuture<ReadModifyWriteRowResponse>
readModifyWriteRow(ReadModifyWriteRowRequest request)
Modifies a row atomically on the server.
-
-
-
Method Detail
-
build
protected BigtableGrpc.BigtableFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<BigtableGrpc.BigtableFutureStub>
-
mutateRow
public com.google.common.util.concurrent.ListenableFuture<MutateRowResponse> mutateRow(MutateRowRequest request)
Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly changed by `mutation`.
-
checkAndMutateRow
public com.google.common.util.concurrent.ListenableFuture<CheckAndMutateRowResponse> checkAndMutateRow(CheckAndMutateRowRequest request)
Mutates a row atomically based on the output of a predicate Reader filter.
-
pingAndWarm
public com.google.common.util.concurrent.ListenableFuture<PingAndWarmResponse> pingAndWarm(PingAndWarmRequest request)
Warm up associated instance metadata for this connection. This call is not required but may be useful for connection keep-alive.
-
readModifyWriteRow
public com.google.common.util.concurrent.ListenableFuture<ReadModifyWriteRowResponse> readModifyWriteRow(ReadModifyWriteRowRequest request)
Modifies a row atomically on the server. The method reads the latest existing timestamp and value from the specified columns and writes a new entry based on pre-defined read/modify/write rules. The new value for the timestamp is the greater of the existing timestamp or the current server time. The method returns the new contents of all modified cells.
-
-