Package | Description |
---|---|
org.apache.hadoop.hbase | |
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.regionserver | |
org.apache.hadoop.hbase.rest.model | |
org.apache.hadoop.hbase.security.access |
Modifier and Type | Method and Description |
---|---|
static int |
PrivateCellUtil.compareFamily(Cell cell,
ByteArrayComparable comparator)
Compare cell's column family against given comparator
|
static int |
PrivateCellUtil.compareQualifier(Cell cell,
ByteArrayComparable comparator)
Compare cell's qualifier against given comparator
|
static int |
PrivateCellUtil.compareRow(Cell cell,
ByteArrayComparable comparator)
Compare cell's row against given comparator
|
static int |
PrivateCellUtil.compareValue(Cell cell,
ByteArrayComparable comparator)
Compare cell's value against given comparator
|
Modifier and Type | Method and Description |
---|---|
default boolean |
RegionObserver.postCheckAndDelete(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete,
boolean result)
Deprecated.
since 3.0.0 and will be removed in 4.0.0. Use
RegionObserver.postCheckAndMutate(ObserverContext, CheckAndMutate, CheckAndMutateResult)
instead. |
default boolean |
RegionObserver.postCheckAndPut(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Put put,
boolean result)
Deprecated.
since 3.0.0 and will be removed in 4.0.0. Use
RegionObserver.postCheckAndMutate(ObserverContext, CheckAndMutate, CheckAndMutateResult)
instead. |
default boolean |
RegionObserver.preCheckAndDelete(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete,
boolean result)
Deprecated.
since 3.0.0 and will be removed in 4.0.0. Use
RegionObserver.preCheckAndMutate(ObserverContext, CheckAndMutate, CheckAndMutateResult)
instead. |
default boolean |
RegionObserver.preCheckAndDeleteAfterRowLock(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete,
boolean result)
Deprecated.
since 3.0.0 and will be removed in 4.0.0. Use
RegionObserver.preCheckAndMutateAfterRowLock(ObserverContext, CheckAndMutate,CheckAndMutateResult)
instead. |
default boolean |
RegionObserver.preCheckAndPut(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Put put,
boolean result)
Deprecated.
since 3.0.0 and will be removed in 4.0.0. Use
RegionObserver.preCheckAndMutate(ObserverContext, CheckAndMutate, CheckAndMutateResult)
instead. |
default boolean |
RegionObserver.preCheckAndPutAfterRowLock(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Put put,
boolean result)
Deprecated.
since 3.0.0 and will be removed in 4.0.0. Use
RegionObserver.preCheckAndMutateAfterRowLock(ObserverContext, CheckAndMutate,CheckAndMutateResult)
instead. |
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 |
---|---|
private ByteArrayComparable |
ColumnValueFilter.comparator |
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 |
---|---|
(package private) boolean |
BitComparator.areSerializedFieldsEqual(ByteArrayComparable other)
Returns true if and only if the fields of the comparator that are serialized are equal to the
corresponding fields in other.
|
(package private) boolean |
SubstringComparator.areSerializedFieldsEqual(ByteArrayComparable other)
Returns true if and only if the fields of the comparator that are serialized are equal to the
corresponding fields in other.
|
(package private) boolean |
NullComparator.areSerializedFieldsEqual(ByteArrayComparable other)
Returns true if and only if the fields of the comparator that are serialized are equal to the
corresponding fields in other.
|
(package private) boolean |
BinaryComparator.areSerializedFieldsEqual(ByteArrayComparable other)
Returns true if and only if the fields of the comparator that are serialized are equal to the
corresponding fields in other.
|
(package private) boolean |
RegexStringComparator.areSerializedFieldsEqual(ByteArrayComparable other)
Returns true if and only if the fields of the comparator that are serialized are equal to the
corresponding fields in other.
|
(package private) boolean |
BinaryComponentComparator.areSerializedFieldsEqual(ByteArrayComparable other)
Returns true if and only if the fields of the comparator that are serialized are equal to the
corresponding fields in other.
|
(package private) boolean |
BinaryPrefixComparator.areSerializedFieldsEqual(ByteArrayComparable other)
Returns true if and only if the fields of the comparator that are serialized are equal to the
corresponding fields in other.
|
(package private) boolean |
ByteArrayComparable.areSerializedFieldsEqual(ByteArrayComparable other)
Return true if and only if the fields of the comparator that are serialized are equal to the
corresponding fields in other.
|
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) |
private boolean |
ColumnValueFilter.compareValue(CompareOperator op,
ByteArrayComparable comparator,
Cell cell)
This method is used to determine a cell should be included or filtered out.
|
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.
|
Modifier and Type | Method and Description |
---|---|
default boolean |
Region.checkAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
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,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
TimeRange timeRange,
Mutation mutation)
Deprecated.
|
boolean |
Region.checkAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
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,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
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,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
TimeRange timeRange,
RowMutations rm)
Deprecated.
|
boolean |
Region.checkAndRowMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
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 | Method and Description |
---|---|
ByteArrayComparable |
ScannerModel.FilterModel.ByteArrayComparableModel.build() |
Constructor and Description |
---|
ByteArrayComparableModel(ByteArrayComparable comparator) |
Modifier and Type | Method and Description |
---|---|
boolean |
AccessController.preCheckAndDelete(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete,
boolean result) |
boolean |
AccessController.preCheckAndDeleteAfterRowLock(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete,
boolean result) |
boolean |
AccessController.preCheckAndPut(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Put put,
boolean result) |
boolean |
AccessController.preCheckAndPutAfterRowLock(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator opp,
ByteArrayComparable comparator,
Put put,
boolean result) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.