public abstract class FilterBase
Abstract base class to help you implement new Filters. Common "ignore" or NOOP type
methods can go here, helping to reduce boiler plate in an ever-expanding filter
If you could instantiate FilterBase, it would end up being a "null" filter -
that is one that never filters anything.
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.filter.Filter
KeyValue which must be next seeked. return null if the filter is
not sure which key to seek to next.
public boolean isFamilyEssential(byte name)
Check that given column family is essential for filter to check row. Most
filters always return true here. But some could have more sophisticated
logic which could significantly reduce scanning process by not even
touching columns until we are 100% sure that it's data is needed in result.
By default, we require all scan's column families to be present. Our
subclasses may be more precise.
public static boolean isFamilyEssential(Filter filter,
Check that given column family is essential for filter to check row.
This accommodates Filter implementation which didn't have this capability
name - column family name
whether column family is essential
public static Filter createFilterFromArguments(ArrayList<byte> filterArguments)
Given the filter's arguments it constructs the filter