Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
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.
|
Modifier and Type | Field and Description |
---|---|
protected Filter |
Query.filter |
Modifier and Type | Method and Description |
---|---|
Filter |
Query.getFilter() |
Filter |
Scan.getFilter() |
Modifier and Type | Method and Description |
---|---|
default org.apache.hadoop.hbase.client.Table.CheckAndMutateWithFilterBuilder |
Table.checkAndMutate(byte[] row,
Filter filter)
Atomically checks if a row matches the specified filter.
|
org.apache.hadoop.hbase.client.AsyncTable.CheckAndMutateWithFilterBuilder |
AsyncTable.checkAndMutate(byte[] row,
Filter filter)
Atomically checks if a row matches the specified 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 |
---|
Scan(byte[] startRow,
Filter filter)
Deprecated.
since 2.0.0 and will be removed in 3.0.0. Use
new Scan().withStartRow(startRow).setFilter(filter) instead. |
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 |
org.apache.hadoop.hbase.filter.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 |
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(byte[], int, int) ,
filterCell(org.apache.hadoop.hbase.Cell) ,
filterRow() or
filterAllRemaining() methods
returns true. |
Modifier and Type | Method and Description |
---|---|
static Filter |
ValueFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
SingleColumnValueExcludeFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
PageFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
SingleColumnValueFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
ColumnValueFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments)
Creating this filter by reflection, it is used by
ParseFilter , |
static Filter |
ColumnPrefixFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
TimestampsFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
RowFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
FamilyFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
KeyOnlyFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
QualifierFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
DependentColumnFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
ColumnCountGetFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
FirstKeyOnlyFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
ColumnPaginationFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
ColumnRangeFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
InclusiveStopFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
MultipleColumnPrefixFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
PrefixFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
Filter |
SkipFilter.getFilter() |
Filter |
WhileMatchFilter.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 |
---|---|
List<Filter> |
FilterList.getFilters()
Get the filters.
|
Modifier and Type | Method and Description |
---|---|
void |
FilterList.addFilter(Filter filter)
Add a filter.
|
Modifier and Type | Method and Description |
---|---|
void |
FilterList.addFilter(List<Filter> filters) |
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. |
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. |
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 | Method and Description |
---|---|
static Filter |
Import.instantiateFilter(org.apache.hadoop.conf.Configuration conf)
Create a
Filter to apply to all incoming keys (KeyValues ) to
optionally not include in the job output |
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
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.