com.google.cloud.bigtable.hbase.adapters.read
Class RowAdapter
- java.lang.Object
-
- com.google.cloud.bigtable.hbase.adapters.read.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 aRow
and an hbase clientResult
.- Version:
- $Id: $Id
- Author:
- sduskis
-
-
Constructor Summary
Constructors Constructor and Description RowAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Result
adaptResponse(com.google.cloud.bigtable.data.v2.models.Row response)
Transform an Bigtable server response to an HBase Result instance.
-
-
-
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 aResult
.- Specified by:
adaptResponse
in interfaceResponseAdapter<com.google.cloud.bigtable.data.v2.models.Row,Result>
- Parameters:
response
- The Bigtable response to transform.- Returns:
- a U object.
-
-