DeleteAdapter (Cloud Bigtable HBase Client for Java 1.8.0 API)

com.google.cloud.bigtable.hbase.adapters

Class DeleteAdapter

  • All Implemented Interfaces:
    OperationAdapter<Delete,com.google.cloud.bigtable.data.v2.models.MutationApi<?>>


    public class DeleteAdapter
    extends MutationAdapter<Delete>
    Adapt a single Delete operation to a Google Cloud Java MutationApi.
    Version:
    $Id: $Id
    Author:
    sduskis
    • Constructor Detail

      • DeleteAdapter

        public DeleteAdapter()
    • Method Detail

      • adaptMutations

        protected void adaptMutations(Delete operation,
                                      com.google.cloud.bigtable.data.v2.models.MutationApi<?> mutation)
        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 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.
        Specified by:
        adaptMutations in class MutationAdapter<Delete>
        Parameters:
        operation - The HBase Mutation to convert
        mutation - The model MutationApi
      • 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