DeleteAdapter (Cloud Bigtable HBase Client for Java 1.6.0 API)

com.google.cloud.bigtable.hbase.adapters

Class DeleteAdapter

  • All Implemented Interfaces:
    OperationAdapter<Delete,com.google.bigtable.v2.MutateRowRequest.Builder>


    public class DeleteAdapter
    extends MutationAdapter<Delete>
    Adapt a single Delete operation to a Bigtable RowMutation
    Version:
    $Id: $Id
    Author:
    sduskis
    • Constructor Detail

      • DeleteAdapter

        public DeleteAdapter()
    • Method Detail

      • adaptMutations

        protected Collection<com.google.bigtable.v2.Mutation> adaptMutations(Delete operation)
        Description copied from class: MutationAdapter
        Converts an HBase Mutation which represents a set of changes to a single row from an HBase perspective to a collection of Cloud Bigtable 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.
        Specified by:
        adaptMutations in class MutationAdapter<Delete>
        Parameters:
        operation - The HBase Mutation to convert
        Returns:
        a Collection of Cloud Bigtable Mutation
      • adapt

        public Delete adapt(com.google.bigtable.v2.MutateRowRequest request)

        adapt.

        Parameters:
        request - a MutateRowRequest object.
        Returns:
        a Delete object.


Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Bigtable Documentation