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