com.google.cloud.bigtable.hbase.adapters
Class IncrementAdapter
- java.lang.Object
-
- com.google.cloud.bigtable.hbase.adapters.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 Summary
Constructors Constructor and Description IncrementAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
adapt(Increment operation, com.google.cloud.bigtable.data.v2.models.ReadModifyWriteRow readModifyWriteRow)
Adapt a single HBase Operation to a single Bigtable generated message.
-
-
-
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 interfaceOperationAdapter<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.
-
-