Uses of Class
org.apache.hadoop.hbase.filter.ByteArrayComparable
Packages that use ByteArrayComparable
Package
Description
Table of Contents
Provides row-level filters applied to HRegion scan results during calls to
ResultScanner.next()
.-
Uses of ByteArrayComparable in org.apache.hadoop.hbase
Methods in org.apache.hadoop.hbase with parameters of type ByteArrayComparableModifier and TypeMethodDescriptionstatic int
PrivateCellUtil.compareFamily
(Cell cell, ByteArrayComparable comparator) Compare cell's column family against given comparatorstatic int
PrivateCellUtil.compareQualifier
(Cell cell, ByteArrayComparable comparator) Compare cell's qualifier against given comparatorstatic int
PrivateCellUtil.compareRow
(Cell cell, ByteArrayComparable comparator) Compare cell's row against given comparatorstatic int
PrivateCellUtil.compareValue
(Cell cell, ByteArrayComparable comparator) Compare cell's value against given comparator -
Uses of ByteArrayComparable in org.apache.hadoop.hbase.coprocessor
Methods in org.apache.hadoop.hbase.coprocessor with parameters of type ByteArrayComparableModifier and TypeMethodDescriptiondefault 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 ByteArrayComparable in org.apache.hadoop.hbase.filter
Subclasses of ByteArrayComparable in org.apache.hadoop.hbase.filterModifier and TypeClassDescriptionclass
A BigDecimal comparator which numerical compares against the specified byte arrayclass
A binary comparator which lexicographically compares against the specified byte array usingBytes.compareTo(byte[], byte[])
.class
A comparator which compares against a specified byte array, but only compares specific portion of the byte array.class
A comparator which compares against a specified byte array, but only compares up to the length of this byte array.class
A bit comparator which performs the specified bitwise operation on each of the bytes with the specified byte array.class
A long comparator which numerical compares against the specified byte arrayclass
A binary comparator which lexicographically compares against the specified byte array usingBytes.compareTo(byte[], byte[])
.class
This comparator is for use withCompareFilter
implementations, such asRowFilter
,QualifierFilter
, andValueFilter
, for filtering based on the value of a given column.class
This comparator is for use with SingleColumnValueFilter, for filtering based on the value of a given column.Fields in org.apache.hadoop.hbase.filter declared as ByteArrayComparableModifier and TypeFieldDescriptionprivate final ByteArrayComparable
ColumnValueFilter.comparator
protected ByteArrayComparable
CompareFilter.comparator
protected ByteArrayComparable
SingleColumnValueFilter.comparator
Methods in org.apache.hadoop.hbase.filter that return ByteArrayComparableModifier and TypeMethodDescriptionstatic ByteArrayComparable
ParseFilter.createComparator
(byte[] comparator) Parses a comparator of the form comparatorType:comparatorValue form and returns a comparatorColumnValueFilter.getComparator()
Returns the comparatorCompareFilter.getComparator()
Returns the comparatorSingleColumnValueFilter.getComparator()
Returns the comparatorstatic ByteArrayComparable
ByteArrayComparable.parseFrom
(byte[] pbBytes) Parse a serialized representation ofByteArrayComparable
Methods in org.apache.hadoop.hbase.filter with parameters of type ByteArrayComparableModifier and TypeMethodDescription(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
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
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
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.(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
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
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.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) Constructors in org.apache.hadoop.hbase.filter with parameters of type ByteArrayComparableModifierConstructorDescriptionColumnValueFilter
(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, 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, 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 ByteArrayComparable in org.apache.hadoop.hbase.regionserver
Methods in org.apache.hadoop.hbase.regionserver with parameters of type ByteArrayComparableModifier 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. -
Uses of ByteArrayComparable in org.apache.hadoop.hbase.rest.model
Methods in org.apache.hadoop.hbase.rest.model that return ByteArrayComparableConstructors in org.apache.hadoop.hbase.rest.model with parameters of type ByteArrayComparable -
Uses of ByteArrayComparable in org.apache.hadoop.hbase.security.access
Methods in org.apache.hadoop.hbase.security.access with parameters of type ByteArrayComparableModifier 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)