@InternalApi(value="For internal usage only") public class UnsupportedMutationAdapter<T extends org.apache.hadoop.hbase.client.Mutation> extends MutationAdapter<T>
For internal use only - public for technical reasons.
Constructor and Description |
---|
UnsupportedMutationAdapter(String operationDescription)
Constructor for UnsupportedOperationAdapter.
|
Modifier and Type | Method and Description |
---|---|
void |
adapt(T 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. |
getBytes
public void adapt(T 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 a single HBase Operation to a single Bigtable generated message.
adapt
in interface OperationAdapter<T extends org.apache.hadoop.hbase.client.Mutation,com.google.cloud.bigtable.data.v2.models.MutationApi<?>>
adapt
in class MutationAdapter<T extends org.apache.hadoop.hbase.client.Mutation>
operation
- The HBase Row
to convertmutation
- The model MutationApi