OperationAdapter<T,com.google.cloud.bigtable.data.v2.models.MutationApi<?>>
public class UnsupportedMutationAdapter<T extends org.apache.hadoop.hbase.client.Mutation> extends MutationAdapter<T>
Constructor | Description |
---|---|
UnsupportedMutationAdapter(String operationDescription) |
Constructor for UnsupportedOperationAdapter.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
adaptMutations(T operation,
com.google.cloud.bigtable.data.v2.models.MutationApi<?> mutation) |
Converts an HBase
Mutation which represents a set of changes to a single row from an
HBase perspective to a Google Cloud Java Mutation
which represent the set of changes. |
adapt, getBytes, toEntry
protected void adaptMutations(T operation, com.google.cloud.bigtable.data.v2.models.MutationApi<?> mutation)
Mutation
which represents a set of changes to a single row from an
HBase perspective to a Google Cloud Java Mutation
which represent the set of changes. The name "Mutation" represents a more granular change in
Bigtable than an HBase "Mutation"; An HBase Cell
is akin to a Cloud Bigtable Mutation
. A CloudBigtable MutateRowRequest
or MutateRowsRequest.Entry
is akin to an HBase Mutation
.
Adapt a single HBase Operation to a single Bigtable generated message.adaptMutations
in class MutationAdapter<T extends org.apache.hadoop.hbase.client.Mutation>
operation
- The HBase Mutation
to convertmutation
- The model MutationApi