Class BigtableGrpc.BigtableImplBase (2.4.0)

public abstract static class BigtableGrpc.BigtableImplBase implements BindableService

Service for reading from and writing to existing Bigtable tables.

Inheritance

java.lang.Object > BigtableGrpc.BigtableImplBase

Implements

io.grpc.BindableService

Constructors

BigtableImplBase()

public BigtableImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

checkAndMutateRow(CheckAndMutateRowRequest request, StreamObserver<CheckAndMutateRowResponse> responseObserver)

public void checkAndMutateRow(CheckAndMutateRowRequest request, StreamObserver<CheckAndMutateRowResponse> responseObserver)

Mutates a row atomically based on the output of a predicate Reader filter.

Parameters
NameDescription
requestCheckAndMutateRowRequest
responseObserverio.grpc.stub.StreamObserver<CheckAndMutateRowResponse>

mutateRow(MutateRowRequest request, StreamObserver<MutateRowResponse> responseObserver)

public void mutateRow(MutateRowRequest request, StreamObserver<MutateRowResponse> responseObserver)

Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly changed by mutation.

Parameters
NameDescription
requestMutateRowRequest
responseObserverio.grpc.stub.StreamObserver<MutateRowResponse>

mutateRows(MutateRowsRequest request, StreamObserver<MutateRowsResponse> responseObserver)

public void mutateRows(MutateRowsRequest request, StreamObserver<MutateRowsResponse> responseObserver)

Mutates multiple rows in a batch. Each individual row is mutated atomically as in MutateRow, but the entire batch is not executed atomically.

Parameters
NameDescription
requestMutateRowsRequest
responseObserverio.grpc.stub.StreamObserver<MutateRowsResponse>

readModifyWriteRow(ReadModifyWriteRowRequest request, StreamObserver<ReadModifyWriteRowResponse> responseObserver)

public void readModifyWriteRow(ReadModifyWriteRowRequest request, StreamObserver<ReadModifyWriteRowResponse> responseObserver)

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.

Parameters
NameDescription
requestReadModifyWriteRowRequest
responseObserverio.grpc.stub.StreamObserver<ReadModifyWriteRowResponse>

readRows(ReadRowsRequest request, StreamObserver<ReadRowsResponse> responseObserver)

public void readRows(ReadRowsRequest request, StreamObserver<ReadRowsResponse> responseObserver)

Streams back the contents of all requested rows in key order, optionally applying the same Reader filter to each. Depending on their size, rows and cells may be broken up across multiple responses, but atomicity of each row will still be preserved. See the ReadRowsResponse documentation for details.

Parameters
NameDescription
requestReadRowsRequest
responseObserverio.grpc.stub.StreamObserver<ReadRowsResponse>

sampleRowKeys(SampleRowKeysRequest request, StreamObserver<SampleRowKeysResponse> responseObserver)

public void sampleRowKeys(SampleRowKeysRequest request, StreamObserver<SampleRowKeysResponse> responseObserver)

Returns a sample of row keys in the table. The returned row keys will delimit contiguous sections of the table of approximately equal size, which can be used to break up the data for distributed tasks like mapreduces.

Parameters
NameDescription
requestSampleRowKeysRequest
responseObserverio.grpc.stub.StreamObserver<SampleRowKeysResponse>