| 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.
|
| org.apache.hadoop.hbase.protobuf |
Holds classes generated from protobuf
src/main/protobuf definition files. |
| org.apache.hadoop.hbase.quotas | |
| org.apache.hadoop.hbase.regionserver.querymatcher | |
| org.apache.hadoop.hbase.rest |
HBase REST
|
| org.apache.hadoop.hbase.rest.model | |
| org.apache.hadoop.hbase.security.visibility | |
| org.apache.hadoop.hbase.shaded.protobuf | |
| org.apache.hadoop.hbase.spark |
| Modifier and Type | Field and Description |
|---|---|
protected Filter |
Query.filter |
| Modifier and Type | Method and Description |
|---|---|
Filter |
Scan.getFilter() |
Filter |
Query.getFilter() |
| Modifier and Type | Method and Description |
|---|---|
Scan |
Scan.setFilter(Filter filter) |
Query |
Query.setFilter(Filter filter)
Apply the specified server-side filter when performing the Query.
|
Get |
Get.setFilter(Filter filter) |
| Constructor and Description |
|---|
Scan(byte[] startRow,
Filter filter)
Deprecated.
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 |
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. See HBASE-13347
|
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 | Field and Description |
|---|---|
protected ArrayList<Filter> |
FilterListBase.filters |
| Modifier and Type | Method and Description |
|---|---|
static Filter |
ColumnPrefixFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
KeyOnlyFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
FilterBase.createFilterFromArguments(ArrayList<byte[]> filterArguments)
Given the filter's arguments it constructs the filter
|
static Filter |
SingleColumnValueExcludeFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
PageFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
ColumnPaginationFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
ColumnCountGetFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
InclusiveStopFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
RowFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
ColumnRangeFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
PrefixFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
DependentColumnFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
TimestampsFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
ColumnValueFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments)
Creating this filter by reflection, it is used by
ParseFilter, |
static Filter |
FirstKeyOnlyFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
FamilyFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
SingleColumnValueFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
MultipleColumnPrefixFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
QualifierFilter.createFilterFromArguments(ArrayList<byte[]> filterArguments) |
static Filter |
ValueFilter.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 |
|---|---|
List<Filter> |
FilterList.getFilters()
Get the filters.
|
ArrayList<Filter> |
FilterListBase.getFilters() |
| 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) |
void |
FilterListWithOR.addFilterLists(List<Filter> filters) |
void |
FilterListWithAND.addFilterLists(List<Filter> filters) |
abstract void |
FilterListBase.addFilterLists(List<Filter> filters) |
protected static boolean |
FilterListBase.checkAndGetReversed(List<Filter> rowFilters,
boolean defaultValue) |
protected String |
FilterListWithOR.formatLogFilters(List<Filter> logFilters) |
protected String |
FilterListWithAND.formatLogFilters(List<Filter> logFilters) |
protected abstract String |
FilterListBase.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
Filters. |
FilterList(FilterList.Operator operator,
Filter... filters)
Constructor that takes a var arg number of
Filters and an operator. |
FilterWrapper(Filter filter) |
SkipFilter(Filter filter) |
WhileMatchFilter(Filter filter) |
| Constructor and Description |
|---|
FilterList(FilterList.Operator operator,
List<Filter> filters)
Constructor that takes a set of
Filters and an operator. |
FilterList(List<Filter> filters)
Constructor that takes a set of
Filters. |
FilterListBase(List<Filter> filters) |
FilterListWithAND(List<Filter> filters) |
FilterListWithOR(List<Filter> filters) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TableInputFormatBase.setRowFilter(Filter rowFilter)
Allows subclasses to set the
Filter to be used. |
void |
TableRecordReader.setRowFilter(Filter rowFilter) |
void |
TableRecordReaderImpl.setRowFilter(Filter rowFilter) |
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|---|
static Filter |
ProtobufUtil.toFilter(FilterProtos.Filter proto)
Convert a protocol buffer Filter to a client Filter
|
| Modifier and Type | Method and Description |
|---|---|
static FilterProtos.Filter |
ProtobufUtil.toFilter(Filter filter)
Convert a client Filter to a protocol buffer Filter
|
| Modifier and Type | Method and Description |
|---|---|
static Filter |
QuotaTableUtil.makeFilter(QuotaFilter filter)
converts quotafilter to serializeable filterlists.
|
| Modifier and Type | Field and Description |
|---|---|
protected Filter |
UserScanQueryMatcher.filter |
| Modifier and Type | Method and Description |
|---|---|
Filter |
UserScanQueryMatcher.getFilter() |
Filter |
CompactionScanQueryMatcher.getFilter() |
abstract Filter |
ScanQueryMatcher.getFilter() |
| 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 |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
static Filter |
ScannerModel.buildFilter(String s) |
| Modifier and Type | Method and Description |
|---|---|
static String |
ScannerModel.stringifyFilter(Filter filter) |
| Modifier and Type | Method and Description |
|---|---|
static Filter |
VisibilityUtils.createVisibilityLabelFilter(Region region,
Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
static Filter |
ProtobufUtil.toFilter(FilterProtos.Filter proto)
Convert a protocol buffer Filter to a client Filter
|
| Modifier and Type | Method and Description |
|---|---|
static FilterProtos.Filter |
ProtobufUtil.toFilter(Filter filter)
Convert a client Filter to a protocol buffer Filter
|
| Modifier and Type | Class and Description |
|---|---|
class |
SparkSQLPushDownFilter
This filter will push down all qualifier logic given to us
by SparkSQL so that we have make the filters at the region server level
and avoid sending the data back to the client to be filtered.
|
Copyright © 2007–2019 Cloudera. All rights reserved.