Uses of Enum Class
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 class with the specified name.static CompareOperator[]
CompareOperator.values()
Returns an array containing the constants of this enum class, 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
RawAsyncTableImpl.CheckAndMutateBuilderImpl.op
Modifier and TypeMethodDescriptionAsyncTable.CheckAndMutateBuilder.ifMatches
(CompareOperator compareOp, byte[] value) Deprecated.Compare a valueCheckAndMutate.Builder.ifMatches
(byte[] family, byte[] qualifier, CompareOperator compareOp, byte[] value) Check for matchRawAsyncTableImpl.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<? extends 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.default boolean
RegionObserver.postCheckAndPut
(ObserverContext<? extends 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.default boolean
RegionObserver.preCheckAndDelete
(ObserverContext<? extends 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.default boolean
RegionObserver.preCheckAndDeleteAfterRowLock
(ObserverContext<? extends 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.default boolean
RegionObserver.preCheckAndPut
(ObserverContext<? extends 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.default boolean
RegionObserver.preCheckAndPutAfterRowLock
(ObserverContext<? extends 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. -
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 3.0.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 3.0.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 3.0.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 3.0.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<? extends RegionCoprocessorEnvironment> c, byte[] row, byte[] family, byte[] qualifier, CompareOperator op, ByteArrayComparable comparator, Delete delete, boolean result) boolean
AccessController.preCheckAndDeleteAfterRowLock
(ObserverContext<? extends RegionCoprocessorEnvironment> c, byte[] row, byte[] family, byte[] qualifier, CompareOperator op, ByteArrayComparable comparator, Delete delete, boolean result) boolean
AccessController.preCheckAndPut
(ObserverContext<? extends RegionCoprocessorEnvironment> c, byte[] row, byte[] family, byte[] qualifier, CompareOperator op, ByteArrayComparable comparator, Put put, boolean result) boolean
AccessController.preCheckAndPutAfterRowLock
(ObserverContext<? extends 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.TCompareOperator tCompareOp) Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.thrift2.generated.TCompareOperator
ThriftUtilities.compareOpFromHBase
(CompareOperator compareOp) -
Uses of CompareOperator in org.apache.hadoop.hbase.thrift2.client
Modifier and TypeFieldDescriptionprivate CompareOperator
ThriftTable.CheckAndMutateBuilderImpl.op
Modifier and TypeMethodDescriptionprivate boolean
ThriftTable.checkAndMutate
(byte[] row, byte[] family, byte[] qualifier, CompareOperator op, byte[] value, RowMutations mutation) ThriftTable.CheckAndMutateBuilderImpl.ifMatches
(CompareOperator compareOp, byte[] value)