announcement Cloud Bigtable now supports replication, currently in beta! We're gradually rolling out replication enhancements to the GCP Console, and you'll see them by Wednesday, May 2.

UnsupportedMutationAdapter (Cloud Bigtable HBase Client for Java 1.3.0 API)

com.google.cloud.bigtable.hbase.adapters

Class UnsupportedMutationAdapter<T extends Mutation>

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


    public class UnsupportedMutationAdapter<T extends Mutation>
    extends MutationAdapter<T>
    An adapter that throws an Unsupported exception when its adapt method is invoked.
    Version:
    $Id: $Id
    Author:
    sduskis
    • Constructor Detail

      • UnsupportedMutationAdapter

        public UnsupportedMutationAdapter(String operationDescription)

        Constructor for UnsupportedOperationAdapter.

        Parameters:
        operationDescription - a String object.
    • Method Detail

      • adaptMutations

        protected Collection<com.google.bigtable.v2.Mutation> adaptMutations(T operation)
        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. Adapt a single HBase Operation to a single Bigtable generated message.
        Specified by:
        adaptMutations in class MutationAdapter<T extends Mutation>
        Parameters:
        operation - The HBase Mutation to convert
        Returns:
        a Collection of Cloud Bigtable Mutation


Send feedback about...

Cloud Bigtable Documentation