BigtableGrpc.BigtableStub (Cloud Bigtable HBase Client for Java API)

Class BigtableGrpc.BigtableStub

  • Enclosing class:

    public static final class BigtableGrpc.BigtableStub
    extends io.grpc.stub.AbstractStub<BigtableGrpc.BigtableStub>
     Service for reading from and writing to existing Bigtable tables.
    • Method Detail

      • readRows

        public void readRows(ReadRowsRequest request,
                             io.grpc.stub.StreamObserver<ReadRowsResponse> responseObserver)
         Streams back the contents of all requested rows, 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.
      • sampleRowKeys

        public void sampleRowKeys(SampleRowKeysRequest request,
                                  io.grpc.stub.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
      • mutateRow

        public void mutateRow(MutateRowRequest request,
                              io.grpc.stub.StreamObserver<MutateRowResponse> responseObserver)
         Mutates a row atomically. Cells already present in the row are left
         unchanged unless explicitly changed by `mutation`.
      • mutateRows

        public void mutateRows(MutateRowsRequest request,
                               io.grpc.stub.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
      • readModifyWriteRow

        public void readModifyWriteRow(ReadModifyWriteRowRequest request,
                                       io.grpc.stub.StreamObserver<ReadModifyWriteRowResponse> responseObserver)
         Modifies a row atomically. 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.

Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Bigtable Documentation