Uses of Class
org.apache.hadoop.hbase.filter.Filter
Packages that use Filter
Package
Description
Provides HBase Client
Table of Contents
Provides row-level filters applied to HRegion scan results during calls to
ResultScanner.next()
.Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
HBase REST
Provides an HBase Thrift
service.
-
Uses of Filter in org.apache.hadoop.hbase
Methods in org.apache.hadoop.hbase with parameters of type FilterModifier and TypeMethodDescriptionstatic void
MetaTableAccessor.scanMeta
(Connection connection, byte[] startRow, byte[] stopRow, ClientMetaTableAccessor.QueryType type, Filter filter, int maxRows, ClientMetaTableAccessor.Visitor visitor) -
Uses of Filter in org.apache.hadoop.hbase.client
Fields in org.apache.hadoop.hbase.client declared as FilterModifier and TypeFieldDescriptionprivate Filter
CheckAndMutate.Builder.filter
private final Filter
CheckAndMutate.filter
protected Filter
Query.filter
private final Filter
RawAsyncTableImpl.CheckAndMutateWithFilterBuilderImpl.filter
Methods in org.apache.hadoop.hbase.client that return FilterModifier and TypeMethodDescriptionCheckAndMutate.getFilter()
Returns the filter to checkImmutableScan.getFilter()
Query.getFilter()
Scan.getFilter()
Returns RowFilterMethods in org.apache.hadoop.hbase.client with parameters of type FilterModifier and TypeMethodDescriptionAsyncTable.checkAndMutate
(byte[] row, Filter filter) Deprecated.Since 3.0.0, will be removed in 4.0.0.AsyncTableImpl.checkAndMutate
(byte[] row, Filter filter) RawAsyncTableImpl.checkAndMutate
(byte[] row, Filter filter) Table.checkAndMutate
(byte[] row, Filter filter) Deprecated.Since 3.0.0, will be removed in 4.0.0.TableOverAsyncTable.checkAndMutate
(byte[] row, Filter filter) Check for matchApply the specified server-side filter when performing the Query.Constructors in org.apache.hadoop.hbase.client with parameters of type FilterModifierConstructorDescriptionprivate
CheckAndMutate
(byte[] row, Filter filter, TimeRange timeRange, Row action, boolean queryMetricsEnabled) CheckAndMutateWithFilterBuilderImpl
(byte[] row, Filter filter) -
Uses of Filter in org.apache.hadoop.hbase.coprocessor
Methods in org.apache.hadoop.hbase.coprocessor with parameters of type FilterModifier and TypeMethodDescriptiondefault boolean
RegionObserver.postCheckAndDelete
(ObserverContext<? extends RegionCoprocessorEnvironment> c, byte[] row, Filter filter, Delete delete, boolean result) Deprecated.since 3.0.0 and will be removed in 4.0.0.default boolean
RegionObserver.postCheckAndPut
(ObserverContext<? extends RegionCoprocessorEnvironment> c, byte[] row, Filter filter, Put put, boolean result) Deprecated.since 3.0.0 and will be removed in 4.0.0.default boolean
RegionObserver.preCheckAndDelete
(ObserverContext<? extends RegionCoprocessorEnvironment> c, byte[] row, Filter filter, Delete delete, boolean result) Deprecated.since 3.0.0 and will be removed in 4.0.0.default boolean
RegionObserver.preCheckAndDeleteAfterRowLock
(ObserverContext<? extends RegionCoprocessorEnvironment> c, byte[] row, Filter filter, Delete delete, boolean result) Deprecated.since 3.0.0 and will be removed in 4.0.0.default boolean
RegionObserver.preCheckAndPut
(ObserverContext<? extends RegionCoprocessorEnvironment> c, byte[] row, Filter filter, Put put, boolean result) Deprecated.since 3.0.0 and will be removed in 4.0.0.default boolean
RegionObserver.preCheckAndPutAfterRowLock
(ObserverContext<? extends RegionCoprocessorEnvironment> c, byte[] row, Filter filter, Put put, boolean result) Deprecated.since 3.0.0 and will be removed in 4.0.0. -
Uses of Filter in org.apache.hadoop.hbase.filter
Subclasses of Filter in org.apache.hadoop.hbase.filterModifier and TypeClassDescriptionclass
Simple filter that returns first N columns on row only.class
A filter, based on the ColumnCountGetFilter, takes two arguments: limit and offset.class
This filter is used for selecting only those keys with columns that matches a particular prefix.class
This filter is used for selecting only those keys with columns that are between minColumn to maxColumn.class
Different fromSingleColumnValueFilter
which returns an entire row when specified condition is matched,ColumnValueFilter
return the matched cell only.class
This is a generic filter to be used to filter by comparison.class
A filter for adding inter-column timestamp matching Only cells with a correspondingly timestamped entry in the target column will be retained Not compatible with Scan.setBatch as operations need full rows for correct filteringclass
This filter is used to filter based on the column family.class
class
Abstract base class to help you implement new Filters.final class
Implementation ofFilter
that represents an ordered List of Filters which will be evaluated with a specified boolean operatorFilterList.Operator.MUST_PASS_ALL
(AND
) orFilterList.Operator.MUST_PASS_ONE
(OR
).class
Base class for FilterList.class
FilterListWithAND represents an ordered list of filters which will be evaluated with an AND operator.class
FilterListWithOR represents an ordered list of filters which will be evaluated with an OR operator.final class
This is a Filter wrapper class which is used in the server side.class
A filter that will only return the first KV from each row.class
This is optimized version of a standard FuzzyRowFilter Filters data based on fuzzy row key.class
A Filter that stops after the given row.class
A filter that will only return the key component of each KV (the value will be rewritten as empty).class
This filter is used for selecting only those keys with columns that matches a particular prefix.class
Filter to support scan multiple row key ranges.class
Implementation of Filter interface that limits results to a specific page size.class
Pass results that have same row prefix.class
This filter is used to filter based on the column qualifier.class
A filter that includes rows based on a chance.class
This filter is used to filter based on the key.class
AFilter
that checks a single column value, but does not emit the tested column.class
This filter is used to filter cells based on value.class
A wrapper filter that filters an entire row if any of the Cell checks do not pass.class
Filter that returns only cells whose timestamp (version) is in the specified list of timestamps (versions).class
This filter is used to filter based on column value.class
A wrapper filter that returns true fromWhileMatchFilter.filterAllRemaining()
as soon as the wrapped filtersfilterRowKey(Cell)
,filterCell(org.apache.hadoop.hbase.Cell)
,filterRow()
orfilterAllRemaining()
methods returns true.Fields in org.apache.hadoop.hbase.filter declared as FilterModifier and TypeFieldDescription(package private) Filter
FilterWrapper.filter
private Filter
SkipFilter.filter
private Filter
WhileMatchFilter.filter
Fields in org.apache.hadoop.hbase.filter with type parameters of type FilterMethods in org.apache.hadoop.hbase.filter that return FilterModifier and TypeMethodDescriptionstatic Filter
ColumnCountGetFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) static Filter
ColumnPaginationFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) static Filter
ColumnPrefixFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) static Filter
ColumnRangeFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) static Filter
ColumnValueFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) Creating this filter by reflection, it is used byParseFilter
,static Filter
DependentColumnFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) static Filter
FamilyFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) static Filter
FilterBase.createFilterFromArguments
(ArrayList<byte[]> filterArguments) Given the filter's arguments it constructs the filterstatic Filter
FirstKeyOnlyFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) static Filter
InclusiveStopFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) static Filter
KeyOnlyFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) static Filter
MultipleColumnPrefixFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) static Filter
PageFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) static Filter
PrefixFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) static Filter
QualifierFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) static Filter
RowFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) static Filter
SingleColumnValueExcludeFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) static Filter
SingleColumnValueFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) static Filter
TimestampsFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) static Filter
ValueFilter.createFilterFromArguments
(ArrayList<byte[]> filterArguments) SkipFilter.getFilter()
WhileMatchFilter.getFilter()
ParseFilter.parseFilterString
(byte[] filterStringAsByteArray) Parses the filterString and constructs a filter using itParseFilter.parseFilterString
(String filterString) Parses the filterString and constructs a filter using itstatic Filter
Filter.parseFrom
(byte[] pbBytes) Concrete implementers can signal a failure condition in their code by throwing anIOException
.ParseFilter.parseSimpleFilterExpression
(byte[] filterStringAsByteArray) Constructs a filter object given a simple filter expressionstatic Filter
ParseFilter.popArguments
(Stack<ByteBuffer> operatorStack, Stack<Filter> filterStack) Pops an argument from the operator stack and the number of arguments required by the operator from the filterStack and evaluates themMethods in org.apache.hadoop.hbase.filter that return types with arguments of type FilterModifier and TypeMethodDescriptionFilterList.getFilters()
Get the filters.FilterListBase.getFilters()
Methods in org.apache.hadoop.hbase.filter with parameters of type FilterModifier and TypeMethodDescriptionvoid
Add a filter.(package private) boolean
ColumnCountGetFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
ColumnPaginationFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
ColumnPrefixFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
ColumnRangeFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
ColumnValueFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
CompareFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
DependentColumnFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
FamilyFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) abstract boolean
Filter.areSerializedFieldsEqual
(Filter other) Concrete implementers can signal a failure condition in their code by throwing anIOException
.(package private) boolean
FilterAllFilter.areSerializedFieldsEqual
(Filter o) (package private) boolean
FilterBase.areSerializedFieldsEqual
(Filter other) Default implementation so that writers of custom filters aren't forced to implement.(package private) boolean
FilterList.areSerializedFieldsEqual
(Filter other) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
FilterWrapper.areSerializedFieldsEqual
(Filter o) (package private) boolean
FirstKeyOnlyFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
FuzzyRowFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
InclusiveStopFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
KeyOnlyFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
MultipleColumnPrefixFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
MultiRowRangeFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
PageFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
PrefixFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
QualifierFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
RandomRowFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
RowFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
SingleColumnValueExcludeFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
SingleColumnValueFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
SkipFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
TimestampsFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
ValueFilter.areSerializedFieldsEqual
(Filter o) Returns true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.(package private) boolean
WhileMatchFilter.areSerializedFieldsEqual
(Filter o) Return true if and only if the fields of the filter that are serialized are equal to the corresponding fields in other.private Filter.ReturnCode
FilterListWithOR.calculateReturnCodeByPrevCellAndRC
(Filter subFilter, Cell currentCell, Cell prevCell, Filter.ReturnCode prevCode) For MUST_PASS_ONE, we cannot make sure that when filter-A in filter list return NEXT_COL then the next cell passing to filterList will be the first cell in next column, because if filter-B in filter list return SKIP, then the filter list will return SKIP.Method parameters in org.apache.hadoop.hbase.filter with type arguments of type FilterModifier and TypeMethodDescriptionvoid
abstract void
FilterListBase.addFilterLists
(List<Filter> filters) void
FilterListWithAND.addFilterLists
(List<Filter> filters) void
FilterListWithOR.addFilterLists
(List<Filter> filters) protected static boolean
FilterListBase.checkAndGetReversed
(List<Filter> rowFilters, boolean defaultValue) protected abstract String
FilterListBase.formatLogFilters
(List<Filter> logFilters) protected String
FilterListWithAND.formatLogFilters
(List<Filter> logFilters) protected String
FilterListWithOR.formatLogFilters
(List<Filter> logFilters) Constructors in org.apache.hadoop.hbase.filter with parameters of type FilterModifierConstructorDescriptionFilterList
(Filter... filters) Constructor that takes a var arg number ofFilter
s.FilterList
(FilterList.Operator operator, Filter... filters) Constructor that takes a var arg number ofFilter
s and an operator.FilterWrapper
(Filter filter) Constructor.SkipFilter
(Filter filter) WhileMatchFilter
(Filter filter) Constructor parameters in org.apache.hadoop.hbase.filter with type arguments of type FilterModifierConstructorDescriptionFilterList
(List<Filter> filters) Constructor that takes a set ofFilter
s.FilterList
(FilterList.Operator operator, List<Filter> filters) Constructor that takes a set ofFilter
s and an operator.FilterListBase
(List<Filter> filters) FilterListWithAND
(List<Filter> filters) FilterListWithOR
(List<Filter> filters) -
Uses of Filter in org.apache.hadoop.hbase.mapred
Fields in org.apache.hadoop.hbase.mapred declared as FilterModifier and TypeFieldDescriptionprivate Filter
TableInputFormatBase.rowFilter
private Filter
TableRecordReaderImpl.trrRowFilter
Methods in org.apache.hadoop.hbase.mapred with parameters of type FilterModifier and TypeMethodDescriptionprotected void
TableInputFormatBase.setRowFilter
(Filter rowFilter) Allows subclasses to set theFilter
to be used.void
TableRecordReader.setRowFilter
(Filter rowFilter) void
TableRecordReaderImpl.setRowFilter
(Filter rowFilter) -
Uses of Filter in org.apache.hadoop.hbase.mapreduce
Fields in org.apache.hadoop.hbase.mapreduce declared as FilterModifier and TypeFieldDescriptionprivate Filter
Import.CellImporter.filter
private Filter
Import.CellSortImporter.filter
private Filter
Import.Importer.filter
Methods in org.apache.hadoop.hbase.mapreduce that return FilterModifier and TypeMethodDescriptionprivate static Filter
ExportUtils.getExportFilter
(String[] args) private static Filter
CellCounter.getRowFilter
(String[] args) static Filter
Import.instantiateFilter
(org.apache.hadoop.conf.Configuration conf) Methods in org.apache.hadoop.hbase.mapreduce with parameters of type FilterModifier and TypeMethodDescriptionstatic ExtendedCell
Import.filterKv
(Filter filter, ExtendedCell c) Attempt to filter out the keyvalueMethod parameters in org.apache.hadoop.hbase.mapreduce with type arguments of type FilterModifier and TypeMethodDescriptionstatic void
Import.addFilterAndArguments
(org.apache.hadoop.conf.Configuration conf, Class<? extends Filter> clazz, List<String> filterArgs) Add a Filter to be instantiated on import -
Uses of Filter in org.apache.hadoop.hbase.master.http
Methods in org.apache.hadoop.hbase.master.http that return FilterModifier and TypeMethodDescriptionprivate Filter
MetaBrowser.buildScanFilter()
private static Filter
MetaBrowser.buildScanRegionStateFilter
(RegionState.State state) private static Filter
MetaBrowser.buildTableFilter
(TableName tableName) -
Uses of Filter in org.apache.hadoop.hbase.quotas
Methods in org.apache.hadoop.hbase.quotas that return FilterModifier and TypeMethodDescriptionstatic Filter
QuotaTableUtil.makeFilter
(QuotaFilter filter) converts quotafilter to serializeable filterlists. -
Uses of Filter in org.apache.hadoop.hbase.regionserver
Subclasses of Filter in org.apache.hadoop.hbase.regionserverModifier and TypeClassDescription(package private) class
A filter that returns the cells which have mob reference tags.Methods in org.apache.hadoop.hbase.regionserver with parameters of type FilterModifier and TypeMethodDescriptionboolean
HRegion.checkAndMutate
(byte[] row, Filter filter, TimeRange timeRange, Mutation mutation) Deprecated.default boolean
Region.checkAndMutate
(byte[] row, Filter filter, Mutation mutation) Deprecated.since 3.0.0 and will be removed in 4.0.0.boolean
Region.checkAndMutate
(byte[] row, Filter filter, TimeRange timeRange, Mutation mutation) Deprecated.since 3.0.0 and will be removed in 4.0.0.boolean
HRegion.checkAndRowMutate
(byte[] row, Filter filter, TimeRange timeRange, RowMutations rm) Deprecated.default boolean
Region.checkAndRowMutate
(byte[] row, Filter filter, RowMutations mutations) Deprecated.since 3.0.0 and will be removed in 4.0.0.boolean
Region.checkAndRowMutate
(byte[] row, Filter filter, TimeRange timeRange, RowMutations mutations) Deprecated.since 3.0.0 and will be removed in 4.0.0. -
Uses of Filter in org.apache.hadoop.hbase.regionserver.querymatcher
Fields in org.apache.hadoop.hbase.regionserver.querymatcher declared as FilterMethods in org.apache.hadoop.hbase.regionserver.querymatcher that return Filter -
Uses of Filter in org.apache.hadoop.hbase.rest
Methods in org.apache.hadoop.hbase.rest that return FilterModifier and TypeMethodDescriptionstatic Filter
ResultGenerator.buildFilter
(String filter) static Filter
ScannerResultGenerator.buildFilterFromModel
(ScannerModel model) Methods in org.apache.hadoop.hbase.rest with parameters of type FilterModifier and TypeMethodDescriptionstatic ResultGenerator
ResultGenerator.fromRowSpec
(String table, RowSpec rowspec, Filter filter, boolean cacheBlocks) Constructors in org.apache.hadoop.hbase.rest with parameters of type FilterModifierConstructorDescriptionMultiRowResultReader
(String tableName, Collection<RowSpec> rowspecs, Filter filter, boolean cacheBlocks) RowResultGenerator
(String tableName, RowSpec rowspec, Filter filter, boolean cacheBlocks) ScannerResultGenerator
(String tableName, RowSpec rowspec, Filter filter, boolean cacheBlocks) ScannerResultGenerator
(String tableName, RowSpec rowspec, Filter filter, int caching, boolean cacheBlocks) ScannerResultGenerator
(String tableName, RowSpec rowspec, Filter filter, int caching, boolean cacheBlocks, int limit, boolean includeStartRow, boolean includeStopRow) -
Uses of Filter in org.apache.hadoop.hbase.rest.model
Methods in org.apache.hadoop.hbase.rest.model that return FilterModifier and TypeMethodDescriptionScannerModel.FilterModel.build()
static Filter
ScannerModel.buildFilter
(String s) Methods in org.apache.hadoop.hbase.rest.model with parameters of type FilterConstructors in org.apache.hadoop.hbase.rest.model with parameters of type Filter -
Uses of Filter in org.apache.hadoop.hbase.security.access
Subclasses of Filter in org.apache.hadoop.hbase.security.accessModifier and TypeClassDescription(package private) class
NOTE: for internal use only by AccessController implementation -
Uses of Filter in org.apache.hadoop.hbase.security.visibility
Subclasses of Filter in org.apache.hadoop.hbase.security.visibilityModifier and TypeClassDescriptionprivate static class
(package private) class
This Filter checks the visibility expression with each KV against visibility labels associated with the scan.Methods in org.apache.hadoop.hbase.security.visibility that return FilterModifier and TypeMethodDescriptionstatic Filter
VisibilityUtils.createVisibilityLabelFilter
(Region region, Authorizations authorizations) -
Uses of Filter in org.apache.hadoop.hbase.thrift2
Methods in org.apache.hadoop.hbase.thrift2 that return FilterModifier and TypeMethodDescriptionstatic Filter
ThriftUtilities.filterFromThrift
(byte[] filterBytes) Methods in org.apache.hadoop.hbase.thrift2 with parameters of type Filter -
Uses of Filter in org.apache.hadoop.hbase.thrift2.client
Methods in org.apache.hadoop.hbase.thrift2.client with parameters of type Filter