Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
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.security.access | |
org.apache.hadoop.hbase.thrift2 |
Provides an HBase Thrift
service.
|
org.apache.hadoop.hbase.thrift2.client |
Modifier and Type | Method and Description |
---|---|
static CompareOperator |
CompareOperator.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompareOperator[] |
CompareOperator.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
private CompareOperator |
HTable.CheckAndMutateBuilderImpl.op |
private CompareOperator |
RawAsyncTableImpl.CheckAndMutateBuilderImpl.op |
private CompareOperator |
CheckAndMutate.op |
private CompareOperator |
CheckAndMutate.Builder.op |
Modifier and Type | Method and Description |
---|---|
CompareOperator |
CheckAndMutate.getCompareOp()
Returns the comparison operator
|
private CompareOperator |
HTable.toCompareOperator(CompareFilter.CompareOp compareOp) |
Modifier and Type | Method and Description |
---|---|
boolean |
HTable.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
Delete delete)
Deprecated.
|
default boolean |
Table.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
Delete delete)
Deprecated.
Since 2.0.0. Will be removed in 3.0.0. Use
Table.checkAndMutate(byte[], byte[]) |
boolean |
HTable.checkAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
RowMutations rm)
Deprecated.
|
default boolean |
Table.checkAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
RowMutations mutation)
Deprecated.
Since 2.0.0. Will be removed in 3.0.0. Use
Table.checkAndMutate(byte[], byte[]) |
boolean |
HTable.checkAndPut(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
Put put)
Deprecated.
|
default boolean |
Table.checkAndPut(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
Put put)
Deprecated.
Since 2.0.0. Will be removed in 3.0.0. Use
Table.checkAndMutate(byte[], byte[]) |
private CheckAndMutateResult |
HTable.doCheckAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
Filter filter,
TimeRange timeRange,
Mutation mutation) |
private CheckAndMutateResult |
HTable.doCheckAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
Filter filter,
TimeRange timeRange,
RowMutations rm) |
CheckAndMutate.Builder |
CheckAndMutate.Builder.ifMatches(byte[] family,
byte[] qualifier,
CompareOperator compareOp,
byte[] value)
Check for match
|
Table.CheckAndMutateBuilder |
HTable.CheckAndMutateBuilderImpl.ifMatches(CompareOperator compareOp,
byte[] value) |
AsyncTable.CheckAndMutateBuilder |
AsyncTable.CheckAndMutateBuilder.ifMatches(CompareOperator compareOp,
byte[] value)
Deprecated.
Compare a value
|
Table.CheckAndMutateBuilder |
Table.CheckAndMutateBuilder.ifMatches(CompareOperator compareOp,
byte[] value)
Deprecated.
Check for match.
|
AsyncTable.CheckAndMutateBuilder |
RawAsyncTableImpl.CheckAndMutateBuilderImpl.ifMatches(CompareOperator compareOp,
byte[] value) |
Constructor and Description |
---|
CheckAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
TimeRange timeRange,
Row action) |
Modifier and Type | Method and Description |
---|---|
private boolean |
MultiRowMutationEndpoint.matches(CompareOperator op,
int compareResult) |
default boolean |
RegionObserver.postCheckAndDelete(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete,
boolean result)
Deprecated.
since 2.4.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 2.4.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 2.4.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 2.4.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 2.4.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 2.4.0 and will be removed in 4.0.0. Use
RegionObserver.preCheckAndMutateAfterRowLock(ObserverContext, CheckAndMutate,CheckAndMutateResult)
instead. |
Modifier and Type | Field and Description |
---|---|
protected CompareOperator |
SingleColumnValueFilter.op |
protected CompareOperator |
CompareFilter.op |
private CompareOperator |
ColumnValueFilter.op |
Modifier and Type | Method and Description |
---|---|
static CompareOperator |
ParseFilter.createCompareOperator(byte[] compareOpAsByteArray)
Takes a compareOperator symbol as a byte array and returns the corresponding CompareOperator
|
CompareOperator |
SingleColumnValueFilter.getCompareOperator() |
CompareOperator |
CompareFilter.getCompareOperator() |
CompareOperator |
ColumnValueFilter.getCompareOperator()
n
|
Modifier and Type | Method and Description |
---|---|
(package private) static boolean |
CompareFilter.compare(CompareOperator op,
int compareResult) |
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) |
private boolean |
ColumnValueFilter.compareValue(CompareOperator op,
ByteArrayComparable comparator,
Cell cell)
This method is used to determine a cell should be included or filtered out.
|
Constructor and Description |
---|
ColumnValueFilter(byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value) |
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,
byte[] value)
Constructor for binary compare of the value of a single column.
|
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,
byte[] value)
Constructor for binary compare of the value of a single column.
|
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 2.4.0 and will be removed in 4.0.0. Use
Region.checkAndMutate(CheckAndMutate) instead. |
boolean |
Region.checkAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
TimeRange timeRange,
Mutation mutation)
Deprecated.
since 2.4.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.
|
default boolean |
Region.checkAndRowMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
RowMutations mutations)
Deprecated.
since 2.4.0 and will be removed in 4.0.0. Use
Region.checkAndMutate(CheckAndMutate) instead. |
boolean |
Region.checkAndRowMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
TimeRange timeRange,
RowMutations mutations)
Deprecated.
since 2.4.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.
|
private boolean |
HRegion.matches(CompareOperator op,
int compareResult) |
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) |
Modifier and Type | Method and Description |
---|---|
static CompareOperator |
ThriftUtilities.compareOpFromThrift(org.apache.hadoop.hbase.thrift2.generated.TCompareOp tCompareOp) |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.thrift2.generated.TCompareOp |
ThriftUtilities.compareOpFromHBase(CompareOperator compareOp) |
Modifier and Type | Field and Description |
---|---|
private CompareOperator |
ThriftTable.CheckAndMutateBuilderImpl.op |
Modifier and Type | Method and Description |
---|---|
boolean |
ThriftTable.checkAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
RowMutations mutation) |
Table.CheckAndMutateBuilder |
ThriftTable.CheckAndMutateBuilderImpl.ifMatches(CompareOperator compareOp,
byte[] value) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.