HBaseRequestAdapter (Cloud Bigtable HBase Client for Java 1.5.0 API)

com.google.cloud.bigtable.hbase.adapters

Class HBaseRequestAdapter



  • public class HBaseRequestAdapter
    extends Object
    Adapts HBase Deletes, Gets, Scans, Puts, RowMutations, Appends and Increments to Bigtable requests.
    Version:
    $Id: $Id
    Author:
    sduskis
    • Method Detail

      • adapt

        public com.google.bigtable.v2.MutateRowRequest adapt(Delete delete)

        adapt.

        Parameters:
        delete - a Delete object.
        Returns:
        a MutateRowRequest object.
      • adaptEntry

        public com.google.bigtable.v2.MutateRowsRequest.Entry adaptEntry(Delete delete)

        adapt.

        Parameters:
        delete - a Delete object.
        Returns:
        a MutateRowsRequest.Entry object.
      • adapt

        public com.google.bigtable.v2.ReadRowsRequest adapt(Get get)

        adapt.

        Parameters:
        get - a Get object.
        Returns:
        a ReadRowsRequest object.
      • adapt

        public com.google.bigtable.v2.ReadRowsRequest adapt(Scan scan)

        adapt.

        Parameters:
        scan - a Scan object.
        Returns:
        a ReadRowsRequest object.
      • adapt

        public com.google.bigtable.v2.ReadModifyWriteRowRequest adapt(Append append)

        adapt.

        Parameters:
        append - a Append object.
        Returns:
        a ReadModifyWriteRowRequest object.
      • adapt

        public com.google.bigtable.v2.ReadModifyWriteRowRequest adapt(Increment increment)

        adapt.

        Parameters:
        increment - a Increment object.
        Returns:
        a ReadModifyWriteRowRequest object.
      • adapt

        public com.google.bigtable.v2.MutateRowRequest adapt(Put put)

        adapt.

        Parameters:
        put - a Put object.
        Returns:
        a MutateRowRequest object.
      • adaptEntry

        public com.google.bigtable.v2.MutateRowsRequest.Entry adaptEntry(Put put)

        adaptEntry.

        Parameters:
        put - a Put object.
        Returns:
        a MutateRowsRequest.Entry object.
      • adapt

        public com.google.bigtable.v2.MutateRowRequest adapt(RowMutations mutations)

        adapt.

        Parameters:
        mutations - a RowMutations object.
        Returns:
        a MutateRowRequest object.
      • adaptEntry

        public com.google.bigtable.v2.MutateRowsRequest.Entry adaptEntry(RowMutations mutations)

        adaptEntry.

        Parameters:
        mutations - a RowMutations object.
        Returns:
        a MutateRowsRequest.Entry object.
      • adapt

        public com.google.bigtable.v2.MutateRowRequest adapt(Mutation mutation)

        adapt.

        Parameters:
        mutation - a Mutation object.
        Returns:
        a MutateRowRequest object.
      • getTableName

        public TableName getTableName()

        Getter for the field tableName.

        Returns:
        a TableName object.
      • getTableNameString

        protected String getTableNameString()

        getTableNameString.

        Returns:
        a String object.


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

Send feedback about...

Cloud Bigtable Documentation