MutationAdapter (Cloud Bigtable HBase Client for Java 1.12.0 API)

com.google.cloud.bigtable.hbase.adapters

Class MutationAdapter<T extends Row>

    • Constructor Detail

      • MutationAdapter

        public MutationAdapter()
    • Method Detail

      • getBytes

        protected static byte[] getBytes(ByteString bs)
      • adapt

        public abstract 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.
        Specified by:
        adapt in interface OperationAdapter<T extends Row,com.google.cloud.bigtable.data.v2.models.MutationApi<?>>
        Parameters:
        operation - The HBase Row to convert
        mutation - The model MutationApi