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 |
RawAsyncTableImpl.CheckAndMutateBuilderImpl.op |
private CompareOperator |
HTable.CheckAndMutateBuilderImpl.op |
Modifier and Type | Method and Description |
---|---|
private CompareOperator |
HTable.toCompareOperator(CompareFilter.CompareOp compareOp) |
Modifier and Type | Method and Description |
---|---|
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.checkAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
Delete delete)
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.checkAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
RowMutations rm)
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[]) |
boolean |
HTable.checkAndPut(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
Put put)
Deprecated.
|
private boolean |
HTable.doCheckAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
Filter filter,
TimeRange timeRange,
Delete delete) |
private boolean |
HTable.doCheckAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
Filter filter,
TimeRange timeRange,
RowMutations rm) |
private boolean |
HTable.doCheckAndPut(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
Filter filter,
TimeRange timeRange,
Put put) |
AsyncTable.CheckAndMutateBuilder |
AsyncTable.CheckAndMutateBuilder.ifMatches(CompareOperator compareOp,
byte[] value) |
Table.CheckAndMutateBuilder |
Table.CheckAndMutateBuilder.ifMatches(CompareOperator compareOp,
byte[] value) |
AsyncTable.CheckAndMutateBuilder |
RawAsyncTableImpl.CheckAndMutateBuilderImpl.ifMatches(CompareOperator compareOp,
byte[] value) |
Table.CheckAndMutateBuilder |
HTable.CheckAndMutateBuilderImpl.ifMatches(CompareOperator compareOp,
byte[] value) |
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)
Called after checkAndDelete
|
default boolean |
RegionObserver.postCheckAndPut(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Put put,
boolean result)
Called after checkAndPut
|
default boolean |
RegionObserver.preCheckAndDelete(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete,
boolean result)
Called before checkAndDelete.
|
default boolean |
RegionObserver.preCheckAndDeleteAfterRowLock(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete,
boolean result)
Called before checkAndDelete but after acquiring rowock.
|
default boolean |
RegionObserver.preCheckAndPut(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Put put,
boolean result)
Called before checkAndPut.
|
default boolean |
RegionObserver.preCheckAndPutAfterRowLock(ObserverContext<RegionCoprocessorEnvironment> c,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Put put,
boolean result)
Called before checkAndPut but after acquiring rowlock.
|
Modifier and Type | Field and Description |
---|---|
protected CompareOperator |
CompareFilter.op |
protected CompareOperator |
SingleColumnValueFilter.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 |
CompareFilter.getCompareOperator() |
CompareOperator |
SingleColumnValueFilter.getCompareOperator() |
CompareOperator |
ColumnValueFilter.getCompareOperator() |
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)
Atomically checks if a row/family/qualifier value matches the expected value and if it does,
it performs the mutation.
|
boolean |
Region.checkAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
TimeRange timeRange,
Mutation mutation)
Atomically checks if a row/family/qualifier value matches the expected value and if it does,
it performs the mutation.
|
boolean |
HRegion.checkAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
TimeRange timeRange,
Mutation mutation) |
default boolean |
Region.checkAndRowMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
RowMutations mutations)
Atomically checks if a row/family/qualifier value matches the expected values and if it does,
it performs the row mutations.
|
boolean |
Region.checkAndRowMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
TimeRange timeRange,
RowMutations mutations)
Atomically checks if a row/family/qualifier value matches the expected values and if it does,
it performs the row mutations.
|
boolean |
HRegion.checkAndRowMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
TimeRange timeRange,
RowMutations rm) |
private boolean |
RSRpcServices.checkAndRowMutate(HRegion region,
List<org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.Action> actions,
CellScanner cellScanner,
byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Filter filter,
TimeRange timeRange,
org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.RegionActionResult.Builder builder,
ActivePolicyEnforcement spaceQuotaEnforcement)
Mutate a list of rows atomically.
|
private boolean |
HRegion.doCheckAndRowMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Filter filter,
TimeRange timeRange,
RowMutations rowMutations,
Mutation mutation)
checkAndMutate and checkAndRowMutate are 90% the same.
|
private boolean |
HRegion.matches(CompareOperator op,
int compareResult) |
boolean |
RegionCoprocessorHost.postCheckAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete,
boolean result) |
boolean |
RegionCoprocessorHost.postCheckAndPut(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Put put,
boolean result) |
Boolean |
RegionCoprocessorHost.preCheckAndDelete(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete)
Supports Coprocessor 'bypass'.
|
Boolean |
RegionCoprocessorHost.preCheckAndDeleteAfterRowLock(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Delete delete)
Supports Coprocessor 'bypass'.
|
Boolean |
RegionCoprocessorHost.preCheckAndPut(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Put put)
Supports Coprocessor 'bypass'.
|
Boolean |
RegionCoprocessorHost.preCheckAndPutAfterRowLock(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
Put put)
Supports Coprocessor 'bypass'.
|
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.