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 |
BigDecimalComparator
A BigDecimal comparator which numerical compares against the specified byte array
|
class |
BinaryComparator
A binary comparator which lexicographically compares against the specified byte array using
Bytes.compareTo(byte[], byte[]) . |
class |
BinaryComponentComparator
A comparator which compares against a specified byte array, but only compares specific portion of
the byte array.
|
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 |
CompareFilter.comparator |
protected ByteArrayComparable |
SingleColumnValueFilter.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 |
ColumnValueFilter.getComparator()
Returns the comparator
|
ByteArrayComparable |
CompareFilter.getComparator()
Returns the comparator
|
ByteArrayComparable |
SingleColumnValueFilter.getComparator()
Returns the comparator
|
static ByteArrayComparable |
ByteArrayComparable.parseFrom(byte[] pbBytes)
Parse a serialized representation of
ByteArrayComparable |
Modifier and Type | Method and Description |
---|---|
protected boolean |
CompareFilter.compareFamily(CompareOperator op,
ByteArrayComparable comparator,
Cell cell) |
protected boolean |
CompareFilter.compareQualifier(CompareOperator op,
ByteArrayComparable comparator,
Cell cell) |
protected boolean |
CompareFilter.compareRow(CompareOperator op,
ByteArrayComparable comparator,
Cell cell) |
protected boolean |
CompareFilter.compareValue(CompareOperator op,
ByteArrayComparable comparator,
Cell cell) |
Constructor and Description |
---|
ColumnValueFilter(byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator) |
CompareFilter(CompareOperator op,
ByteArrayComparable comparator)
Constructor.
|
DependentColumnFilter(byte[] family,
byte[] qualifier,
boolean dropDependentColumn,
CompareOperator op,
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(CompareOperator op,
ByteArrayComparable familyComparator)
Constructor.
|
QualifierFilter(CompareOperator op,
ByteArrayComparable qualifierComparator)
Constructor.
|
RowFilter(CompareOperator op,
ByteArrayComparable rowComparator)
Constructor.
|
SingleColumnValueExcludeFilter(byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator)
Constructor for binary compare of the value of a single column.
|
SingleColumnValueExcludeFilter(byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
boolean filterIfMissing,
boolean latestVersionOnly)
Constructor for protobuf deserialization only.
|
SingleColumnValueFilter(byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator)
Constructor for binary compare of the value of a single column.
|
SingleColumnValueFilter(byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
boolean filterIfMissing,
boolean latestVersionOnly)
Constructor for protobuf deserialization only.
|
ValueFilter(CompareOperator valueCompareOp,
ByteArrayComparable valueComparator)
Constructor.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.