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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected BigtableGrpc.BigtableFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<CheckAndMutateRowResponse>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<PrepareQueryResponse>prepareQuery(PrepareQueryRequest request) Prepares a GoogleSQL query for execution on a particular Bigtable instance.com.google.common.util.concurrent.ListenableFuture<ReadModifyWriteRowResponse>Modifies a row atomically on the server.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected BigtableGrpc.BigtableFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin 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.
-
prepareQuery
public com.google.common.util.concurrent.ListenableFuture<PrepareQueryResponse> prepareQuery(PrepareQueryRequest request) Prepares a GoogleSQL query for execution on a particular Bigtable instance.
-