Package | Description |
---|---|
org.apache.hadoop.hbase.filter |
Provides row-level filters applied to HRegion scan results during calls to
ResultScanner.next() . |
Modifier and Type | Class and Description |
---|---|
class |
BinaryComparator
A binary comparator which lexicographically compares against the specified
byte array using
Bytes.compareTo(byte[], byte[]) . |
class |
BinaryPrefixComparator
A comparator which compares against a specified byte array, but only compares
up to the length of this byte array.
|
class |
BitComparator
A bit comparator which performs the specified bitwise operation on each of the bytes
with the specified byte array.
|
class |
LongComparator
A long comparator which numerical compares against the specified byte array
|
class |
NullComparator
A binary comparator which lexicographically compares against the specified
byte array using
Bytes.compareTo(byte[], byte[]) . |
class |
RegexStringComparator
This comparator is for use with
CompareFilter implementations, such
as RowFilter , QualifierFilter , and ValueFilter , for
filtering based on the value of a given column. |
class |
SubstringComparator
This comparator is for use with SingleColumnValueFilter, for filtering based on
the value of a given column.
|
Modifier and Type | Field and Description |
---|---|
protected ByteArrayComparable |
SingleColumnValueFilter.comparator |
protected ByteArrayComparable |
CompareFilter.comparator |
Modifier and Type | Method and Description |
---|---|
static ByteArrayComparable |
ParseFilter.createComparator(byte[] comparator)
Parses a comparator of the form comparatorType:comparatorValue form and returns a comparator
|
ByteArrayComparable |
SingleColumnValueFilter.getComparator() |
ByteArrayComparable |
CompareFilter.getComparator() |
static ByteArrayComparable |
ByteArrayComparable.parseFrom(byte[] pbBytes) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
CompareFilter.doCompare(CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
byte[] data,
int offset,
int length) |
Constructor and Description |
---|
CompareFilter(CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator)
Constructor.
|
DependentColumnFilter(byte[] family,
byte[] qualifier,
boolean dropDependentColumn,
CompareFilter.CompareOp valueCompareOp,
ByteArrayComparable valueComparator)
Build a dependent column filter with value checking
dependent column varies will be compared using the supplied
compareOp and comparator, for usage of which
refer to
CompareFilter |
FamilyFilter(CompareFilter.CompareOp familyCompareOp,
ByteArrayComparable familyComparator)
Constructor.
|
QualifierFilter(CompareFilter.CompareOp op,
ByteArrayComparable qualifierComparator)
Constructor.
|
RowFilter(CompareFilter.CompareOp rowCompareOp,
ByteArrayComparable rowComparator)
Constructor.
|
SingleColumnValueExcludeFilter(byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator)
Constructor for binary compare of the value of a single column.
|
SingleColumnValueExcludeFilter(byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
boolean filterIfMissing,
boolean latestVersionOnly)
Constructor for protobuf deserialization only.
|
SingleColumnValueFilter(byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator)
Constructor for binary compare of the value of a single column.
|
SingleColumnValueFilter(byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
boolean filterIfMissing,
boolean latestVersionOnly)
Constructor for protobuf deserialization only.
|
ValueFilter(CompareFilter.CompareOp valueCompareOp,
ByteArrayComparable valueComparator)
Constructor.
|
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.