@InternalApi(value="For internal usage only") public class PutAdapter extends MutationAdapter<org.apache.hadoop.hbase.client.Put>
Put Operation into a Google Cloud Java MutationApi.
For internal use only - public for technical reasons.
| Constructor and Description |
|---|
PutAdapter(int maxKeyValueSize)
Constructor for PutAdapter.
|
PutAdapter(int maxKeyValueSize,
boolean setClientTimestamp)
Constructor for PutAdapter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
adapt(org.apache.hadoop.hbase.client.Put operation,
com.google.cloud.bigtable.data.v2.models.MutationApi<?> mutation)
Converts an HBase
Row which represents a set of changes to a single row from an HBase
perspective to a Google Cloud Java MutationApi which represent the set of changes. |
getBytespublic PutAdapter(int maxKeyValueSize)
maxKeyValueSize - a int.public PutAdapter(int maxKeyValueSize,
boolean setClientTimestamp)
maxKeyValueSize - a int.setClientTimestamp - a boolean.public void adapt(org.apache.hadoop.hbase.client.Put operation,
com.google.cloud.bigtable.data.v2.models.MutationApi<?> mutation)
Row which represents a set of changes to a single row from an HBase
perspective to a Google Cloud Java MutationApi which represent the set of changes.adapt in interface OperationAdapter<org.apache.hadoop.hbase.client.Put,com.google.cloud.bigtable.data.v2.models.MutationApi<?>>adapt in class MutationAdapter<org.apache.hadoop.hbase.client.Put>operation - The HBase Row to convertmutation - The model MutationApi