com.google.cloud.bigtable.hbase.adapters.filters
Class TypedFilterAdapterBase<S extends Filter>
- java.lang.Object
-
- com.google.cloud.bigtable.hbase.adapters.filters.TypedFilterAdapterBase<S>
-
- All Implemented Interfaces:
- TypedFilterAdapter<S>
- Direct Known Subclasses:
- BigtableFilterAdapter, ColumnCountGetFilterAdapter, ColumnPaginationFilterAdapter, ColumnPrefixFilterAdapter, ColumnRangeFilterAdapter, FamilyFilterAdapter, FilterListAdapter, FirstKeyOnlyFilterAdapter, FuzzyRowFilterAdapter, KeyOnlyFilterAdapter, MultipleColumnPrefixFilterAdapter, MultiRowRangeFilterAdapter, PageFilterAdapter, PrefixFilterAdapter, QualifierFilterAdapter, RandomRowFilterAdapter, RowFilterAdapter, SingleColumnValueExcludeFilterAdapter, SingleColumnValueFilterAdapter, TimestampRangeFilterAdapter, TimestampsFilterAdapter, ValueFilterAdapter, WhileMatchFilterAdapter
public abstract class TypedFilterAdapterBase<S extends Filter> extends Object implements TypedFilterAdapter<S>
Base functionality for all filter adapters
-
-
Constructor Summary
Constructors Constructor and Description TypedFilterAdapterBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description RangeSet<RowKeyWrapper>
getIndexScanHint(S filter)
Get hints how to optimize the scan.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.cloud.bigtable.hbase.adapters.filters.TypedFilterAdapter
adapt, isFilterSupported
-
-
-
-
Method Detail
-
getIndexScanHint
public RangeSet<RowKeyWrapper> getIndexScanHint(S filter)
Description copied from interface:TypedFilterAdapter
Get hints how to optimize the scan. For example if the filter will narrow the scan using the prefix "ab" then we can restrict the scan to ["ab" - "ac"). If the filter doesn't narrow the scan then it should return Range.all()- Specified by:
getIndexScanHint
in interfaceTypedFilterAdapter<S extends Filter>
- Parameters:
filter
- aS
object.- Returns:
- a
RangeSet
object.
-
-