UnsupportedMutationAdapter (Cloud Bigtable HBase Client for Java 1.12.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

      • 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>
        operation - The HBase Row to convert
        mutation - The model MutationApi

Trang này có hữu ích không? Hãy cho chúng tôi biết đánh giá của bạn:

Gửi phản hồi về...

Cloud Bigtable Documentation