@InternalApi(value="For internal usage only") public class RowFilterAdapter extends TypedFilterAdapterBase<org.apache.hadoop.hbase.filter.RowFilter>
Note that regular expression comparators are passed as is. This means some users may need to modify their queries to adhere to the RE2 syntax.
Currently only the regular expression operator with the EQUAL operator is supported.
For internal use only - public for technical reasons.
Constructor and Description |
---|
RowFilterAdapter() |
Modifier and Type | Method and Description |
---|---|
com.google.cloud.bigtable.data.v2.models.Filters.Filter |
adapt(FilterAdapterContext context,
org.apache.hadoop.hbase.filter.RowFilter filter)
Adapt the given filter.
|
FilterSupportStatus |
isFilterSupported(FilterAdapterContext context,
org.apache.hadoop.hbase.filter.RowFilter filter)
Determine if the given filter can be adapted to a Bigtable RowFilter.
|
getIndexScanHint
public com.google.cloud.bigtable.data.v2.models.Filters.Filter adapt(FilterAdapterContext context, org.apache.hadoop.hbase.filter.RowFilter 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.RowFilter filter)
context
- a FilterAdapterContext
object.filter
- a S object.FilterSupportStatus
object.