RowAdapter (Cloud Bigtable HBase Client for Java 1.12.0 API)

com.google.cloud.bigtable.hbase.adapters.read

Class RowAdapter

  • All Implemented Interfaces:
    ResponseAdapter<com.google.cloud.bigtable.data.v2.models.Row,Result>


    public class RowAdapter
    extends Object
    implements ResponseAdapter<com.google.cloud.bigtable.data.v2.models.Row,Result>
    Adapt between a Row and an hbase client Result.
    Version:
    $Id: $Id
    Author:
    sduskis
    • Constructor Detail

      • RowAdapter

        public RowAdapter()
    • Method Detail

      • adaptResponse

        public Result adaptResponse(com.google.cloud.bigtable.data.v2.models.Row response)
        Transform an Bigtable server response to an HBase Result instance.

        Convert a Row to a Result.

        Specified by:
        adaptResponse in interface ResponseAdapter<com.google.cloud.bigtable.data.v2.models.Row,Result>
        Parameters:
        response - The Bigtable response to transform.
        Returns:
        a U object.