Class BigtableGrpc.BigtableBlockingStub (2.11.2)

public static final class BigtableGrpc.BigtableBlockingStub extends AbstractBlockingStub<BigtableGrpc.BigtableBlockingStub>

Service for reading from and writing to existing Bigtable tables.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > BigtableGrpc.BigtableBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

checkAndMutateRow(CheckAndMutateRowRequest request)

public CheckAndMutateRowResponse checkAndMutateRow(CheckAndMutateRowRequest request)

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

Parameter
NameDescription
requestCheckAndMutateRowRequest
Returns
TypeDescription
CheckAndMutateRowResponse

mutateRow(MutateRowRequest request)

public MutateRowResponse mutateRow(MutateRowRequest request)

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

Parameter
NameDescription
requestMutateRowRequest
Returns
TypeDescription
MutateRowResponse

mutateRows(MutateRowsRequest request)

public Iterator<MutateRowsResponse> mutateRows(MutateRowsRequest request)

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

Parameter
NameDescription
requestMutateRowsRequest
Returns
TypeDescription
Iterator<MutateRowsResponse>

pingAndWarm(PingAndWarmRequest request)

public 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.

Parameter
NameDescription
requestPingAndWarmRequest
Returns
TypeDescription
PingAndWarmResponse

readModifyWriteRow(ReadModifyWriteRowRequest request)

public 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.

Parameter
NameDescription
requestReadModifyWriteRowRequest
Returns
TypeDescription
ReadModifyWriteRowResponse

readRows(ReadRowsRequest request)

public Iterator<ReadRowsResponse> readRows(ReadRowsRequest request)

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.

Parameter
NameDescription
requestReadRowsRequest
Returns
TypeDescription
Iterator<ReadRowsResponse>

sampleRowKeys(SampleRowKeysRequest request)

public Iterator<SampleRowKeysResponse> sampleRowKeys(SampleRowKeysRequest request)

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.

Parameter
NameDescription
requestSampleRowKeysRequest
Returns
TypeDescription
Iterator<SampleRowKeysResponse>