com.google.cloud.bigtable.hbase.adapters.read
Class ScanAdapter
- java.lang.Object
-
- com.google.cloud.bigtable.hbase.adapters.read.ScanAdapter
-
- All Implemented Interfaces:
- ReadOperationAdapter<Scan>
public class ScanAdapter extends Object implements ReadOperationAdapter<Scan>
An adapter forScan
operation that makes use of the proto filter language.- Version:
- $Id: $Id
- Author:
- sduskis
-
-
Constructor Summary
Constructors Constructor and Description ScanAdapter(FilterAdapter filterAdapter, RowRangeAdapter rowRangeAdapter)
Constructor for ScanAdapter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
adapt(Scan scan, ReadHooks readHooks, com.google.cloud.bigtable.data.v2.models.Query query)
adapt.com.google.cloud.bigtable.data.v2.models.Filters.Filter
buildFilter(Scan scan, ReadHooks hooks)
Given aScan
, build aFilters.Filter
that include matching columnsvoid
throwIfUnsupportedScan(Scan scan)
throwIfUnsupportedScan.
-
-
-
Constructor Detail
-
ScanAdapter
public ScanAdapter(FilterAdapter filterAdapter, RowRangeAdapter rowRangeAdapter)
Constructor for ScanAdapter.- Parameters:
filterAdapter
- aFilterAdapter
object.rowRangeAdapter
- aRowRangeAdapter
object.
-
-
Method Detail
-
throwIfUnsupportedScan
public void throwIfUnsupportedScan(Scan scan)
throwIfUnsupportedScan.- Parameters:
scan
- aScan
object.
-
buildFilter
public com.google.cloud.bigtable.data.v2.models.Filters.Filter buildFilter(Scan scan, ReadHooks hooks)
Given aScan
, build aFilters.Filter
that include matching columns
-
-