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 voidMetaTableAccessor.scanMeta(Connection connection, byte[] startRow, byte[] stopRow, ClientMetaTableAccessor.QueryType type, Filter filter, int maxRows, ClientMetaTableAccessor.Visitor visitor) Performs a scan of META table. -
Uses of Filter in org.apache.hadoop.hbase.client
Fields in org.apache.hadoop.hbase.client declared as FilterModifier and TypeFieldDescriptionprivate FilterCheckAndMutate.Builder.filterprivate final FilterCheckAndMutate.filterprotected FilterQuery.filterprivate final FilterRawAsyncTableImpl.CheckAndMutateWithFilterBuilderImpl.filterMethods 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 FilterModifierConstructorDescriptionprivateCheckAndMutate(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 booleanRegionObserver.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 booleanRegionObserver.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 booleanRegionObserver.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 booleanRegionObserver.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 booleanRegionObserver.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 booleanRegionObserver.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 TypeClassDescriptionclassSimple filter that returns first N columns on row only.classA filter, based on the ColumnCountGetFilter, takes two arguments: limit and offset.classThis filter is used for selecting only those keys with columns that matches a particular prefix.classThis filter is used for selecting only those keys with columns that are between minColumn to maxColumn.classDifferent fromSingleColumnValueFilterwhich returns an entire row when specified condition is matched,ColumnValueFilterreturn the matched cell only.classThis is a generic filter to be used to filter by comparison.classA 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 filteringclassThis filter is used to filter based on the column family.classclassAbstract base class to help you implement new Filters.final classImplementation ofFilterthat 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).classBase class for FilterList.classFilterListWithAND represents an ordered list of filters which will be evaluated with an AND operator.classFilterListWithOR represents an ordered list of filters which will be evaluated with an OR operator.final classThis is a Filter wrapper class which is used in the server side.classA filter that will only return the first KV from each row.classThis is optimized version of a standard FuzzyRowFilter Filters data based on fuzzy row key.classA Filter that stops after the given row.classA filter that will only return the key component of each KV (the value will be rewritten as empty).classThis filter is used for selecting only those keys with columns that matches a particular prefix.classFilter to support scan multiple row key ranges.classImplementation of Filter interface that limits results to a specific page size.classPass results that have same row prefix.classThis filter is used to filter based on the column qualifier.classA filter that includes rows based on a chance.classThis filter is used to filter based on the key.classAFilterthat checks a single column value, but does not emit the tested column.classThis filter is used to filter cells based on value.classA wrapper filter that filters an entire row if any of the Cell checks do not pass.classFilter that returns only cells whose timestamp (version) is in the specified list of timestamps (versions).classThis filter is used to filter based on column value.classA 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) FilterFilterWrapper.filterprivate FilterSkipFilter.filterprivate FilterWhileMatchFilter.filterFields in org.apache.hadoop.hbase.filter with type parameters of type FilterMethods in org.apache.hadoop.hbase.filter that return FilterModifier and TypeMethodDescriptionstatic FilterColumnCountGetFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) static FilterColumnPaginationFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) static FilterColumnPrefixFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) static FilterColumnRangeFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) static FilterColumnValueFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) Creating this filter by reflection, it is used byParseFilter,static FilterDependentColumnFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) static FilterFamilyFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) static FilterFilterBase.createFilterFromArguments(ArrayList<byte[]> filterArguments) Given the filter's arguments it constructs the filterstatic FilterFirstKeyOnlyFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) static FilterInclusiveStopFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) static FilterKeyOnlyFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) static FilterMultipleColumnPrefixFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) static FilterPageFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) static FilterPrefixFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) static FilterQualifierFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) static FilterRowFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) static FilterSingleColumnValueExcludeFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) static FilterSingleColumnValueFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) static FilterTimestampsFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) static FilterValueFilter.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 FilterFilter.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 FilterParseFilter.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 TypeMethodDescriptionvoidAdd a filter.(package private) booleanColumnCountGetFilter.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) booleanColumnPaginationFilter.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) booleanColumnPrefixFilter.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) booleanColumnRangeFilter.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) booleanColumnValueFilter.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) booleanCompareFilter.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) booleanDependentColumnFilter.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) booleanFamilyFilter.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 booleanFilter.areSerializedFieldsEqual(Filter other) Concrete implementers can signal a failure condition in their code by throwing anIOException.(package private) booleanFilterAllFilter.areSerializedFieldsEqual(Filter o) (package private) booleanFilterBase.areSerializedFieldsEqual(Filter other) Default implementation so that writers of custom filters aren't forced to implement.(package private) booleanFilterList.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) booleanFilterWrapper.areSerializedFieldsEqual(Filter o) (package private) booleanFirstKeyOnlyFilter.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) booleanFuzzyRowFilter.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) booleanInclusiveStopFilter.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) booleanKeyOnlyFilter.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) booleanMultipleColumnPrefixFilter.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) booleanMultiRowRangeFilter.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) booleanPageFilter.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) booleanPrefixFilter.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) booleanQualifierFilter.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) booleanRandomRowFilter.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) booleanRowFilter.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) booleanSingleColumnValueExcludeFilter.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) booleanSingleColumnValueFilter.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) booleanSkipFilter.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) booleanTimestampsFilter.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) booleanValueFilter.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) booleanWhileMatchFilter.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.ReturnCodeFilterListWithOR.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 TypeMethodDescriptionvoidabstract voidFilterListBase.addFilterLists(List<Filter> filters) voidFilterListWithAND.addFilterLists(List<Filter> filters) voidFilterListWithOR.addFilterLists(List<Filter> filters) protected static booleanFilterListBase.checkAndGetReversed(List<Filter> rowFilters, boolean defaultValue) protected abstract StringFilterListBase.formatLogFilters(List<Filter> logFilters) protected StringFilterListWithAND.formatLogFilters(List<Filter> logFilters) protected StringFilterListWithOR.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 ofFilters.FilterList(FilterList.Operator operator, Filter... filters) Constructor that takes a var arg number ofFilters 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 ofFilters.FilterList(FilterList.Operator operator, List<Filter> filters) Constructor that takes a set ofFilters 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 FilterTableInputFormatBase.rowFilterprivate FilterTableRecordReaderImpl.trrRowFilterMethods in org.apache.hadoop.hbase.mapred with parameters of type FilterModifier and TypeMethodDescriptionprotected voidTableInputFormatBase.setRowFilter(Filter rowFilter) Allows subclasses to set theFilterto be used.voidTableRecordReader.setRowFilter(Filter rowFilter) voidTableRecordReaderImpl.setRowFilter(Filter rowFilter) -
Uses of Filter in org.apache.hadoop.hbase.mapreduce
Fields in org.apache.hadoop.hbase.mapreduce declared as FilterModifier and TypeFieldDescriptionprivate FilterImport.CellImporter.filterprivate FilterImport.CellSortImporter.filterprivate FilterImport.Importer.filterMethods in org.apache.hadoop.hbase.mapreduce that return FilterModifier and TypeMethodDescriptionprivate static FilterExportUtils.getExportFilter(String[] args) private static FilterCellCounter.getRowFilter(String[] args) static FilterImport.instantiateFilter(org.apache.hadoop.conf.Configuration conf) Methods in org.apache.hadoop.hbase.mapreduce with parameters of type FilterModifier and TypeMethodDescriptionstatic ExtendedCellImport.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 voidImport.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 FilterMetaBrowser.buildScanFilter()private static FilterMetaBrowser.buildScanRegionStateFilter(RegionState.State state) private static FilterMetaBrowser.buildTableFilter(TableName tableName) -
Uses of Filter in org.apache.hadoop.hbase.quotas
Methods in org.apache.hadoop.hbase.quotas that return FilterModifier and TypeMethodDescriptionstatic FilterQuotaTableUtil.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) classA filter that returns the cells which have mob reference tags.Methods in org.apache.hadoop.hbase.regionserver with parameters of type FilterModifier and TypeMethodDescriptionbooleanHRegion.checkAndMutate(byte[] row, Filter filter, TimeRange timeRange, Mutation mutation) Deprecated.default booleanRegion.checkAndMutate(byte[] row, Filter filter, Mutation mutation) Deprecated.since 3.0.0 and will be removed in 4.0.0.booleanRegion.checkAndMutate(byte[] row, Filter filter, TimeRange timeRange, Mutation mutation) Deprecated.since 3.0.0 and will be removed in 4.0.0.booleanHRegion.checkAndRowMutate(byte[] row, Filter filter, TimeRange timeRange, RowMutations rm) Deprecated.default booleanRegion.checkAndRowMutate(byte[] row, Filter filter, RowMutations mutations) Deprecated.since 3.0.0 and will be removed in 4.0.0.booleanRegion.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 FilterResultGenerator.buildFilter(String filter) static FilterScannerResultGenerator.buildFilterFromModel(ScannerModel model) Methods in org.apache.hadoop.hbase.rest with parameters of type FilterModifier and TypeMethodDescriptionstatic ResultGeneratorResultGenerator.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 FilterScannerModel.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) classNOTE: 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) classThis 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 FilterVisibilityUtils.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 FilterThriftUtilities.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