Uses of Enum
org.apache.hadoop.hbase.CompareOperator
Package
Description
Provides HBase Client
Table of Contents
Provides row-level filters applied to HRegion scan results during calls to
ResultScanner.next()
.Provides an HBase Thrift
service.
-
Uses of CompareOperator in org.apache.hadoop.hbase
Modifier and TypeMethodDescriptionstatic CompareOperator
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. -
Uses of CompareOperator in org.apache.hadoop.hbase.client
Modifier and TypeFieldDescriptionprivate CompareOperator
CheckAndMutate.Builder.op
private final CompareOperator
CheckAndMutate.op
private CompareOperator
HTable.CheckAndMutateBuilderImpl.op
private CompareOperator
RawAsyncTableImpl.CheckAndMutateBuilderImpl.op
Modifier and TypeMethodDescriptionCheckAndMutate.getCompareOp()
Returns the comparison operatorprivate CompareOperator
HTable.toCompareOperator
(CompareFilter.CompareOp compareOp) Modifier and TypeMethodDescriptionboolean
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.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.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.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) AsyncTable.CheckAndMutateBuilder.ifMatches
(CompareOperator compareOp, byte[] value) Deprecated.Compare a valueCheckAndMutate.Builder.ifMatches
(byte[] family, byte[] qualifier, CompareOperator compareOp, byte[] value) Check for matchHTable.CheckAndMutateBuilderImpl.ifMatches
(CompareOperator compareOp, byte[] value) RawAsyncTableImpl.CheckAndMutateBuilderImpl.ifMatches
(CompareOperator compareOp, byte[] value) Table.CheckAndMutateBuilder.ifMatches
(CompareOperator compareOp, byte[] value) Deprecated.Check for match.ModifierConstructorDescriptionprivate
CheckAndMutate
(byte[] row, byte[] family, byte[] qualifier, CompareOperator op, byte[] value, TimeRange timeRange, Row action) -
Uses of CompareOperator in org.apache.hadoop.hbase.coprocessor
Modifier and TypeMethodDescriptionprivate 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.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.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.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.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.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. -
Uses of CompareOperator in org.apache.hadoop.hbase.filter
Modifier and TypeFieldDescriptionprivate final CompareOperator
ColumnValueFilter.op
protected CompareOperator
CompareFilter.op
protected CompareOperator
SingleColumnValueFilter.op
Modifier and TypeMethodDescriptionstatic CompareOperator
ParseFilter.createCompareOperator
(byte[] compareOpAsByteArray) Takes a compareOperator symbol as a byte array and returns the corresponding CompareOperatorColumnValueFilter.getCompareOperator()
Returns operatorCompareFilter.getCompareOperator()
SingleColumnValueFilter.getCompareOperator()
Modifier and TypeMethodDescription(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) 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) ModifierConstructorDescriptionColumnValueFilter
(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 toCompareFilter
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.protected
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.protected
SingleColumnValueFilter
(byte[] family, byte[] qualifier, CompareOperator op, ByteArrayComparable comparator, boolean filterIfMissing, boolean latestVersionOnly) Constructor for protobuf deserialization only.ValueFilter
(CompareOperator valueCompareOp, ByteArrayComparable valueComparator) Constructor. -
Uses of CompareOperator in org.apache.hadoop.hbase.regionserver
Modifier and TypeMethodDescriptionboolean
HRegion.checkAndMutate
(byte[] row, byte[] family, byte[] qualifier, CompareOperator op, ByteArrayComparable comparator, TimeRange timeRange, Mutation mutation) Deprecated.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.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.boolean
HRegion.checkAndRowMutate
(byte[] row, byte[] family, byte[] qualifier, CompareOperator op, ByteArrayComparable comparator, TimeRange timeRange, RowMutations rm) 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.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.private boolean
HRegion.matches
(CompareOperator op, int compareResult) -
Uses of CompareOperator in org.apache.hadoop.hbase.security.access
Modifier and TypeMethodDescriptionboolean
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) -
Uses of CompareOperator in org.apache.hadoop.hbase.thrift2
Modifier and TypeMethodDescriptionstatic CompareOperator
ThriftUtilities.compareOpFromThrift
(org.apache.hadoop.hbase.thrift2.generated.TCompareOp tCompareOp) Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.thrift2.generated.TCompareOp
ThriftUtilities.compareOpFromHBase
(CompareOperator compareOp) -
Uses of CompareOperator in org.apache.hadoop.hbase.thrift2.client
Modifier and TypeFieldDescriptionprivate CompareOperator
ThriftTable.CheckAndMutateBuilderImpl.op
Modifier and TypeMethodDescriptionboolean
ThriftTable.checkAndMutate
(byte[] row, byte[] family, byte[] qualifier, CompareOperator op, byte[] value, RowMutations mutation) ThriftTable.CheckAndMutateBuilderImpl.ifMatches
(CompareOperator compareOp, byte[] value)