Class BigtableGrpc.BigtableStub (2.3.1)

public static final class BigtableGrpc.BigtableStub extends AbstractAsyncStub<BigtableGrpc.BigtableStub>

Service for reading from and writing to existing Bigtable tables.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > BigtableGrpc.BigtableStub

Methods

build(Channel channel, CallOptions callOptions)

protected BigtableGrpc.BigtableStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
BigtableGrpc.BigtableStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

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>