IncrementAdapter (Cloud Bigtable HBase Client for Java 1.12.0 API)

com.google.cloud.bigtable.hbase.adapters

Class IncrementAdapter

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


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

      • IncrementAdapter

        public IncrementAdapter()
    • Method Detail

      • adapt

        public void adapt(Increment 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<Increment,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.