AppendAdapter (Cloud Bigtable HBase Client for Java 1.12.0 API)

com.google.cloud.bigtable.hbase.adapters

Class AppendAdapter

  • All Implemented Interfaces:
    OperationAdapter<Append,com.google.cloud.bigtable.data.v2.models.ReadModifyWriteRow>


    public class AppendAdapter
    extends Object
    implements OperationAdapter<Append,com.google.cloud.bigtable.data.v2.models.ReadModifyWriteRow>
    Adapter for HBase Appends operations to Bigtable ReadModifyWriteRowRequest.Builder.
    Version:
    $Id: $Id
    Author:
    sduskis
    • Constructor Detail

      • AppendAdapter

        public AppendAdapter()
    • Method Detail

      • adapt

        public void adapt(Append operation,
                          com.google.cloud.bigtable.data.v2.models.ReadModifyWriteRow readModifyWriteRow)
        Adapt a single HBase Operation to a single Bigtable generated message.
        Specified by:
        adapt in interface OperationAdapter<Append,com.google.cloud.bigtable.data.v2.models.ReadModifyWriteRow>
        Parameters:
        operation - The HBase operation to convert.
        readModifyWriteRow - Type to which HBase operation will be mapped to. Typically it will be Google Cloud Java Bigtable Models.