@InternalApi(value="For internal usage only") public class FilterListAdapter extends TypedFilterAdapterBase<org.apache.hadoop.hbase.filter.FilterList> implements UnsupportedStatusCollector<org.apache.hadoop.hbase.filter.FilterList>
For internal use only - public for technical reasons.
| Constructor and Description |
|---|
FilterListAdapter(FilterAdapter subFilterAdapter)
Constructor for FilterListAdapter.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.cloud.bigtable.data.v2.models.Filters.Filter |
adapt(FilterAdapterContext context,
org.apache.hadoop.hbase.filter.FilterList filter)
Adapt the given filter.
|
void |
collectUnsupportedStatuses(FilterAdapterContext context,
org.apache.hadoop.hbase.filter.FilterList filter,
List<FilterSupportStatus> unsupportedStatuses)
Collect FilterSupportStatuses from the filter Filter and all subfilters.
|
com.google.common.collect.RangeSet<RowKeyWrapper> |
getIndexScanHint(org.apache.hadoop.hbase.filter.FilterList filter)
Get hints how to optimize the scan.
|
FilterSupportStatus |
isFilterSupported(FilterAdapterContext context,
org.apache.hadoop.hbase.filter.FilterList filter)
Determine if the given filter can be adapted to a Bigtable RowFilter.
|
public FilterListAdapter(FilterAdapter subFilterAdapter)
subFilterAdapter - a FilterAdapter object.public com.google.cloud.bigtable.data.v2.models.Filters.Filter adapt(FilterAdapterContext context, org.apache.hadoop.hbase.filter.FilterList filter) throws IOException
adapt in interface TypedFilterAdapter<org.apache.hadoop.hbase.filter.FilterList>context - a FilterAdapterContext
object.filter - a S object.Filters.Filter object.IOException - if any.public FilterSupportStatus isFilterSupported(FilterAdapterContext context, org.apache.hadoop.hbase.filter.FilterList filter)
isFilterSupported in interface TypedFilterAdapter<org.apache.hadoop.hbase.filter.FilterList>context - a FilterAdapterContext
object.filter - a S object.FilterSupportStatus object.public void collectUnsupportedStatuses(FilterAdapterContext context, org.apache.hadoop.hbase.filter.FilterList filter, List<FilterSupportStatus> unsupportedStatuses)
collectUnsupportedStatuses in interface UnsupportedStatusCollector<org.apache.hadoop.hbase.filter.FilterList>context - a FilterAdapterContext
object.filter - a S object.unsupportedStatuses - a List object.public com.google.common.collect.RangeSet<RowKeyWrapper> getIndexScanHint(org.apache.hadoop.hbase.filter.FilterList filter)
TypedFilterAdaptergetIndexScanHint in interface TypedFilterAdapter<org.apache.hadoop.hbase.filter.FilterList>getIndexScanHint in class TypedFilterAdapterBase<org.apache.hadoop.hbase.filter.FilterList>filter - a S object.RangeSet object.