Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.coprocessor |
Table of Contents
|
org.apache.hadoop.hbase.filter |
Provides row-level filters applied to HRegion scan results during calls to
ResultScanner.next() . |
org.apache.hadoop.hbase.mapred |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
|
org.apache.hadoop.hbase.mapreduce |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
|
org.apache.hadoop.hbase.master.http | |
org.apache.hadoop.hbase.quotas | |
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.regionserver.querymatcher | |
org.apache.hadoop.hbase.rest |
HBase REST
|
org.apache.hadoop.hbase.rest.model | |
org.apache.hadoop.hbase.security.access | |
org.apache.hadoop.hbase.security.visibility | |
org.apache.hadoop.hbase.thrift2 |
Provides an HBase Thrift
service.
|
org.apache.hadoop.hbase.thrift2.client |
Modifier and Type | Method and Description |
---|---|
static void |
MetaTableAccessor.scanMeta(Connection connection,
byte[] startRow,
byte[] stopRow,
ClientMetaTableAccessor.QueryType type,
Filter filter,
int maxRows,
ClientMetaTableAccessor.Visitor visitor) |
Modifier and Type | Field and Description |
---|---|
private Filter |
CheckAndMutate.filter |
private Filter |
CheckAndMutate.Builder.filter |
protected Filter |
Query.filter |
private Filter |
RawAsyncTableImpl.CheckAndMutateWithFilterBuilderImpl.filter |
Modifier and Type | Method and Description |
---|---|
Filter |
CheckAndMutate.getFilter()
Returns the filter to check
|
Filter |
ImmutableScan.getFilter() |
Filter |
Query.getFilter() |
Filter |
Scan.getFilter()
Returns RowFilter
|
Modifier and Type | Method and Description |
---|---|
AsyncTable.CheckAndMutateWithFilterBuilder |
AsyncTable.checkAndMutate(byte[] row,
Filter filter)
Deprecated.
Since 3.0.0, will be removed in 4.0.0. For internal test use only, do not use it
any more.
|
AsyncTable.CheckAndMutateWithFilterBuilder |
AsyncTableImpl.checkAndMutate(byte[] row,
Filter filter) |
default Table.CheckAndMutateWithFilterBuilder |
Table.checkAndMutate(byte[] row,
Filter filter)
Deprecated.
Since 3.0.0, will be removed in 4.0.0. For internal test use only, do not use it
any more.
|
Table.CheckAndMutateWithFilterBuilder |
TableOverAsyncTable.checkAndMutate(byte[] row,
Filter filter) |
AsyncTable.CheckAndMutateWithFilterBuilder |
RawAsyncTableImpl.checkAndMutate(byte[] row,
Filter filter) |
CheckAndMutate.Builder |
CheckAndMutate.Builder.ifMatches(Filter filter)
Check for match
|
Scan |
ImmutableScan.setFilter(Filter filter) |
Get |
Get.setFilter(Filter filter) |
Query |
Query.setFilter(Filter filter)
Apply the specified server-side filter when performing the Query.
|
Scan |
Scan.setFilter(Filter filter) |
Constructor and Description |
---|
CheckAndMutate(byte[] row,
Filter filter,
TimeRange timeRange,
Row action) |
CheckAndMutateWithFilterBuilderImpl(byte[] row,
Filter filter) |
Modifier and Type | Class and Description |
---|---|
class |
ColumnCountGetFilter
Simple filter that returns first N columns on row only.
|
class |
ColumnPaginationFilter
A filter, based on the ColumnCountGetFilter, takes two arguments: limit and offset.
|
class |
ColumnPrefixFilter
This filter is used for selecting only those keys with columns that matches a particular prefix.
|
class |
ColumnRangeFilter
This filter is used for selecting only those keys with columns that are between minColumn to
maxColumn.
|
class |
ColumnValueFilter
Different from
SingleColumnValueFilter which returns an entire row when specified
condition is matched, ColumnValueFilter return the matched cell only. |
class |
CompareFilter
This is a generic filter to be used to filter by comparison.
|
class |
DependentColumnFilter
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 filtering
|
class |
FamilyFilter
This filter is used to filter based on the column family.
|
class |
FilterBase
Abstract base class to help you implement new Filters.
|
class |
FilterList
Implementation of
Filter that represents an ordered List of Filters which will be
evaluated with a specified boolean operator FilterList.Operator.MUST_PASS_ALL (AND ) or
FilterList.Operator.MUST_PASS_ONE (OR ). |
class |
FilterListBase
Base class for FilterList.
|
class |
FilterListWithAND
FilterListWithAND represents an ordered list of filters which will be evaluated with an AND
operator.
|
class |
FilterListWithOR
FilterListWithOR represents an ordered list of filters which will be evaluated with an OR
operator.
|
class |
FilterWrapper
This is a Filter wrapper class which is used in the server side.
|
class |
FirstKeyOnlyFilter
A filter that will only return the first KV from each row.
|
class |
FirstKeyValueMatchingQualifiersFilter
Deprecated.
Deprecated in 2.0.0 and will be removed in 3.0.0.
|
class |
FuzzyRowFilter
This is optimized version of a standard FuzzyRowFilter Filters data based on fuzzy row key.
|
class |
InclusiveStopFilter
A Filter that stops after the given row.
|
class |
KeyOnlyFilter
A filter that will only return the key component of each KV (the value will be rewritten as
empty).
|
class |
MultipleColumnPrefixFilter
This filter is used for selecting only those keys with columns that matches a particular prefix.
|
class |
MultiRowRangeFilter
Filter to support scan multiple row key ranges.
|
class |
PageFilter
Implementation of Filter interface that limits results to a specific page size.
|
class |
PrefixFilter
Pass results that have same row prefix.
|
class |
QualifierFilter
This filter is used to filter based on the column qualifier.
|
class |
RandomRowFilter
A filter that includes rows based on a chance.
|
class |
RowFilter
This filter is used to filter based on the key.
|
class |
SingleColumnValueExcludeFilter
A
Filter that checks a single column value, but does not emit the tested column. |
class |
SingleColumnValueFilter
This filter is used to filter cells based on value.
|
class |
SkipFilter
A wrapper filter that filters an entire row if any of the Cell checks do not pass.
|
class |
TimestampsFilter
Filter that returns only cells whose timestamp (version) is in the specified list of timestamps
(versions).
|
class |
ValueFilter
This filter is used to filter based on column value.
|
class |
WhileMatchFilter
A wrapper filter that returns true from
WhileMatchFilter.filterAllRemaining() as soon as the wrapped
filters filterRowKey(Cell) ,
filterCell(org.apache.hadoop.hbase.Cell) ,
filterRow() or
filterAllRemaining() methods returns true. |
Modifier and Type | Field and Description |
---|---|
(package private) Filter |
FilterWrapper.filter |
private Filter |
WhileMatchFilter.filter |
private Filter |
SkipFilter.filter |
Modifier and Type | Field and Description |
---|---|
protected ArrayList<Filter> |
FilterListBase.filters |
private List<Filter> |
FilterListWithAND.seekHintFilters |
Modifier and Type | Method and Description |
---|---|
static Filter |
FirstKeyOnlyFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
SingleColumnValueExcludeFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
PageFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
RowFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
ColumnRangeFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
MultipleColumnPrefixFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
ColumnPrefixFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
KeyOnlyFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
QualifierFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
ColumnPaginationFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
SingleColumnValueFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
ColumnCountGetFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
ColumnValueFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments)
Creating this filter by reflection, it is used by
ParseFilter , |
static Filter |
InclusiveStopFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
TimestampsFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
DependentColumnFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
ValueFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
FilterBase.createFilterFromArguments(ArrayList<byte[]> filterArguments)
Given the filter's arguments it constructs the filter
|
static Filter |
FamilyFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
PrefixFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
Filter |
WhileMatchFilter.getFilter() |
Filter |
SkipFilter.getFilter() |
Filter |
ParseFilter.parseFilterString(byte[] filterStringAsByteArray)
Parses the filterString and constructs a filter using it
|
Filter |
ParseFilter.parseFilterString(String filterString)
Parses the filterString and constructs a filter using it
|
static Filter |
Filter.parseFrom(byte[] pbBytes)
Concrete implementers can signal a failure condition in their code by throwing an
IOException . |
Filter |
ParseFilter.parseSimpleFilterExpression(byte[] filterStringAsByteArray)
Constructs a filter object given a simple filter expression
|
static 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 them
|
Modifier and Type | Method and Description |
---|---|
ArrayList<Filter> |
FilterListBase.getFilters() |
List<Filter> |
FilterList.getFilters()
Get the filters.
|
Modifier and Type | Method and Description |
---|---|
void |
FilterList.addFilter(Filter filter)
Add a filter.
|
(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 |
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 |
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 |
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 |
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 |
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 |
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 |
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.
|
(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 |
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) abstract boolean |
Filter.areSerializedFieldsEqual(Filter other)
Concrete implementers can signal a failure condition in their code by throwing an
IOException . |
(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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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) 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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
FilterList.addFilter(List<Filter> filters) |
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) |
static 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 them
|
void |
ParseFilter.reduce(Stack<ByteBuffer> operatorStack,
Stack<Filter> filterStack,
ByteBuffer operator)
This function is called while parsing the filterString and an operator is parsed
|
Constructor and Description |
---|
FilterList(Filter... filters)
Constructor that takes a var arg number of
Filter s. |
FilterList(FilterList.Operator operator,
Filter... filters)
Constructor that takes a var arg number of
Filter s and an operator. |
FilterWrapper(Filter filter)
Constructor.
|
SkipFilter(Filter filter) |
WhileMatchFilter(Filter filter) |
Constructor and Description |
---|
FilterList(FilterList.Operator operator,
List<Filter> filters)
Constructor that takes a set of
Filter s and an operator. |
FilterList(List<Filter> filters)
Constructor that takes a set of
Filter s. |
FilterListBase(List<Filter> filters) |
FilterListWithAND(List<Filter> filters) |
FilterListWithOR(List<Filter> filters) |
Modifier and Type | Field and Description |
---|---|
private Filter |
TableInputFormatBase.rowFilter |
private Filter |
TableRecordReaderImpl.trrRowFilter |
Modifier and Type | Method and Description |
---|---|
void |
TableRecordReaderImpl.setRowFilter(Filter rowFilter) |
void |
TableRecordReader.setRowFilter(Filter rowFilter) |
protected void |
TableInputFormatBase.setRowFilter(Filter rowFilter)
Allows subclasses to set the
Filter to be used. |
Modifier and Type | Field and Description |
---|---|
private Filter |
Import.CellSortImporter.filter |
private Filter |
Import.CellImporter.filter |
private Filter |
Import.Importer.filter |
Modifier and Type | Method and Description |
---|---|
private static Filter |
ExportUtils.getExportFilter(String[] args) |
private static Filter |
CellCounter.getRowFilter(String[] args) |
static Filter |
Import.instantiateFilter(org.apache.hadoop.conf.Configuration conf)
|
Modifier and Type | Method and Description |
---|---|
static Cell |
Import.filterKv(Filter filter,
Cell c)
Attempt to filter out the keyvalue
|
Modifier and Type | Method and Description |
---|---|
static void |
Import.addFilterAndArguments(org.apache.hadoop.conf.Configuration conf,
Class<? extends Filter> clazz,
List<String> filterArgs)
Add a Filter to be instantiated on import
|
Modifier and Type | Method and Description |
---|---|
private Filter |
MetaBrowser.buildScanFilter() |
private static Filter |
MetaBrowser.buildScanRegionStateFilter(RegionState.State state) |
private static Filter |
MetaBrowser.buildTableFilter(TableName tableName) |
Modifier and Type | Method and Description |
---|---|
static Filter |
QuotaTableUtil.makeFilter(QuotaFilter filter)
converts quotafilter to serializeable filterlists.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
MobReferenceOnlyFilter
A filter that returns the cells which have mob reference tags.
|
Modifier and Type | Method and Description |
---|---|
default boolean |
Region.checkAndMutate(byte[] row,
Filter filter,
Mutation mutation)
Deprecated.
since 3.0.0 and will be removed in 4.0.0. Use
Region.checkAndMutate(CheckAndMutate) instead. |
boolean |
HRegion.checkAndMutate(byte[] row,
Filter filter,
TimeRange timeRange,
Mutation mutation)
Deprecated.
|
boolean |
Region.checkAndMutate(byte[] row,
Filter filter,
TimeRange timeRange,
Mutation mutation)
Deprecated.
since 3.0.0 and will be removed in 4.0.0. Use
Region.checkAndMutate(CheckAndMutate) instead. |
default boolean |
Region.checkAndRowMutate(byte[] row,
Filter filter,
RowMutations mutations)
Deprecated.
since 3.0.0 and will be removed in 4.0.0. Use
Region.checkAndMutate(CheckAndMutate) instead. |
boolean |
HRegion.checkAndRowMutate(byte[] row,
Filter filter,
TimeRange timeRange,
RowMutations rm)
Deprecated.
|
boolean |
Region.checkAndRowMutate(byte[] row,
Filter filter,
TimeRange timeRange,
RowMutations mutations)
Deprecated.
since 3.0.0 and will be removed in 4.0.0. Use
Region.checkAndMutate(CheckAndMutate) instead. |
Modifier and Type | Field and Description |
---|---|
protected Filter |
UserScanQueryMatcher.filter |
Modifier and Type | Method and Description |
---|---|
Filter |
CompactionScanQueryMatcher.getFilter() |
Filter |
UserScanQueryMatcher.getFilter() |
abstract Filter |
ScanQueryMatcher.getFilter()
Returns the Filter
|
Modifier and Type | Method and Description |
---|---|
static Filter |
ResultGenerator.buildFilter(String filter) |
static Filter |
ScannerResultGenerator.buildFilterFromModel(ScannerModel model) |
Modifier and Type | Method and Description |
---|---|
static ResultGenerator |
ResultGenerator.fromRowSpec(String table,
RowSpec rowspec,
Filter filter,
boolean cacheBlocks) |
Constructor and Description |
---|
MultiRowResultReader(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) |
Modifier and Type | Method and Description |
---|---|
Filter |
ScannerModel.FilterModel.build() |
static Filter |
ScannerModel.buildFilter(String s) |
Modifier and Type | Method and Description |
---|---|
static String |
ScannerModel.stringifyFilter(Filter filter) |
Constructor and Description |
---|
FilterModel(Filter filter) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
AccessControlFilter
NOTE: for internal use only by AccessController implementation
|
Modifier and Type | Class and Description |
---|---|
private static class |
VisibilityController.DeleteVersionVisibilityExpressionFilter |
(package private) class |
VisibilityLabelFilter
This Filter checks the visibility expression with each KV against visibility labels associated
with the scan.
|
Modifier and Type | Method and Description |
---|---|
static Filter |
VisibilityUtils.createVisibilityLabelFilter(Region region,
Authorizations authorizations) |
Modifier and Type | Method and Description |
---|---|
static Filter |
ThriftUtilities.filterFromThrift(byte[] filterBytes) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
ThriftUtilities.filterFromHBase(Filter filter) |
Modifier and Type | Method and Description |
---|---|
Table.CheckAndMutateWithFilterBuilder |
ThriftTable.checkAndMutate(byte[] row,
Filter filter) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.