UnsupportedMutationAdapter (Cloud Bigtable HBase Client for Java 1.10.0 API)

com.google.cloud.bigtable.hbase.adapters

Class UnsupportedMutationAdapter<T extends Mutation>

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


    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

      • adapt

        public 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. Adapt a single HBase Operation to a single Bigtable generated message.
        Specified by:
        adapt in interface OperationAdapter<T extends Mutation,com.google.cloud.bigtable.data.v2.models.MutationApi<?>>
        Specified by:
        adapt in class MutationAdapter<T extends Mutation>
        Parameters:
        operation - The HBase Row to convert
        mutation - The model MutationApi


本頁內容對您是否有任何幫助?請提供意見:

傳送您對下列選項的寶貴意見...

這個網頁
Cloud Bigtable Documentation