@InternalApi(value="For internal usage only") public class RowMutationsAdapter extends MutationAdapter<org.apache.hadoop.hbase.client.RowMutations>
RowMutations object into Google
Cloud Java MutationApi.
For internal use only - public for technical reasons.
| Modifier and Type | Field and Description |
|---|---|
protected MutationAdapter<org.apache.hadoop.hbase.client.Mutation> |
mutationAdapter |
| Constructor and Description |
|---|
RowMutationsAdapter(MutationAdapter<org.apache.hadoop.hbase.client.Mutation> mutationAdapter)
Constructor for RowMutationsAdapter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
adapt(org.apache.hadoop.hbase.client.RowMutations operation,
com.google.cloud.bigtable.data.v2.models.MutationApi<?> mutationApi)
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. |
getBytesprotected final MutationAdapter<org.apache.hadoop.hbase.client.Mutation> mutationAdapter
public RowMutationsAdapter(MutationAdapter<org.apache.hadoop.hbase.client.Mutation> mutationAdapter)
mutationAdapter - a MutationAdapter object.public void adapt(org.apache.hadoop.hbase.client.RowMutations operation,
com.google.cloud.bigtable.data.v2.models.MutationApi<?> mutationApi)
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.RowMutations,com.google.cloud.bigtable.data.v2.models.MutationApi<?>>adapt in class MutationAdapter<org.apache.hadoop.hbase.client.RowMutations>operation - The HBase Row to convertmutationApi - The model MutationApi