UnsupportedMutationAdapter (Cloud Bigtable HBase Client for Java 1.6.0 API)


Class UnsupportedMutationAdapter<T extends Mutation>

  • All Implemented Interfaces:

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

      • UnsupportedMutationAdapter

        public UnsupportedMutationAdapter(String operationDescription)

        Constructor for UnsupportedOperationAdapter.

        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>
        operation - The HBase Mutation to convert
        a Collection of Cloud Bigtable Mutation

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

Send feedback about...

Cloud Bigtable Documentation