Uses of Class
org.apache.hadoop.hbase.filter.ByteArrayComparable
Package
Description
Table of Contents
Provides row-level filters applied to HRegion scan results during calls to
ResultScanner.next()
.-
Uses of org.apache.hadoop.hbase.filter.ByteArrayComparable in org.apache.hadoop.hbase
Modifier and TypeMethodDescriptionstatic int
PrivateCellUtil.compareFamily
(org.apache.hadoop.hbase.Cell cell, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator) Compare cell's column family against given comparatorstatic int
PrivateCellUtil.compareQualifier
(org.apache.hadoop.hbase.Cell cell, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator) Compare cell's qualifier against given comparatorstatic int
PrivateCellUtil.compareRow
(org.apache.hadoop.hbase.Cell cell, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator) Compare cell's row against given comparatorstatic int
PrivateCellUtil.compareValue
(org.apache.hadoop.hbase.Cell cell, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator) Compare cell's value against given comparator -
Uses of org.apache.hadoop.hbase.filter.ByteArrayComparable in org.apache.hadoop.hbase.coprocessor
Modifier and TypeMethodDescriptiondefault boolean
RegionObserver.postCheckAndDelete
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Delete delete, boolean result) Deprecated.since 3.0.0 and will be removed in 4.0.0.default boolean
RegionObserver.postCheckAndPut
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Put put, boolean result) Deprecated.since 3.0.0 and will be removed in 4.0.0.default boolean
RegionObserver.preCheckAndDelete
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Delete delete, boolean result) Deprecated.since 3.0.0 and will be removed in 4.0.0.default boolean
RegionObserver.preCheckAndDeleteAfterRowLock
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Delete delete, boolean result) Deprecated.since 3.0.0 and will be removed in 4.0.0.default boolean
RegionObserver.preCheckAndPut
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Put put, boolean result) Deprecated.since 3.0.0 and will be removed in 4.0.0.default boolean
RegionObserver.preCheckAndPutAfterRowLock
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Put put, boolean result) Deprecated.since 3.0.0 and will be removed in 4.0.0. -
Uses of org.apache.hadoop.hbase.filter.ByteArrayComparable in org.apache.hadoop.hbase.filter
Modifier and TypeClassDescriptionclass
org.apache.hadoop.hbase.filter.BigDecimalComparator
A BigDecimal comparator which numerical compares against the specified byte arrayclass
org.apache.hadoop.hbase.filter.BinaryComparator
A binary comparator which lexicographically compares against the specified byte array usingBytes.compareTo(byte[], byte[])
.class
org.apache.hadoop.hbase.filter.BinaryComponentComparator
A comparator which compares against a specified byte array, but only compares specific portion of the byte array.class
org.apache.hadoop.hbase.filter.BinaryPrefixComparator
A comparator which compares against a specified byte array, but only compares up to the length of this byte array.class
org.apache.hadoop.hbase.filter.BitComparator
A bit comparator which performs the specified bitwise operation on each of the bytes with the specified byte array.class
org.apache.hadoop.hbase.filter.LongComparator
A long comparator which numerical compares against the specified byte arrayclass
org.apache.hadoop.hbase.filter.NullComparator
A binary comparator which lexicographically compares against the specified byte array usingBytes.compareTo(byte[], byte[])
.class
org.apache.hadoop.hbase.filter.RegexStringComparator
This comparator is for use withCompareFilter
implementations, such asRowFilter
,QualifierFilter
, andValueFilter
, for filtering based on the value of a given column.class
org.apache.hadoop.hbase.filter.SubstringComparator
This comparator is for use with SingleColumnValueFilter, for filtering based on the value of a given column.Modifier and TypeFieldDescriptionprotected org.apache.hadoop.hbase.filter.ByteArrayComparable
CompareFilter.comparator
protected org.apache.hadoop.hbase.filter.ByteArrayComparable
SingleColumnValueFilter.comparator
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.filter.ByteArrayComparable
ParseFilter.createComparator
(byte[] comparator) Parses a comparator of the form comparatorType:comparatorValue form and returns a comparatororg.apache.hadoop.hbase.filter.ByteArrayComparable
ColumnValueFilter.getComparator()
Returns the comparatororg.apache.hadoop.hbase.filter.ByteArrayComparable
CompareFilter.getComparator()
Returns the comparatororg.apache.hadoop.hbase.filter.ByteArrayComparable
SingleColumnValueFilter.getComparator()
Returns the comparatorstatic org.apache.hadoop.hbase.filter.ByteArrayComparable
ByteArrayComparable.parseFrom
(byte[] pbBytes) Parse a serialized representation ofByteArrayComparable
Modifier and TypeMethodDescriptionprotected boolean
CompareFilter.compareFamily
(org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.Cell cell) protected boolean
CompareFilter.compareQualifier
(org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.Cell cell) protected boolean
CompareFilter.compareRow
(org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.Cell cell) protected boolean
CompareFilter.compareValue
(org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.Cell cell) ModifierConstructorDescriptionColumnValueFilter
(byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator) CompareFilter
(org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator) Constructor.DependentColumnFilter
(byte[] family, byte[] qualifier, boolean dropDependentColumn, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.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
(org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable familyComparator) Constructor.QualifierFilter
(org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable qualifierComparator) Constructor.RowFilter
(org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable rowComparator) Constructor.SingleColumnValueExcludeFilter
(byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator) Constructor for binary compare of the value of a single column.protected
SingleColumnValueExcludeFilter
(byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, boolean filterIfMissing, boolean latestVersionOnly) Constructor for protobuf deserialization only.SingleColumnValueFilter
(byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator) Constructor for binary compare of the value of a single column.protected
SingleColumnValueFilter
(byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, boolean filterIfMissing, boolean latestVersionOnly) Constructor for protobuf deserialization only.ValueFilter
(org.apache.hadoop.hbase.CompareOperator valueCompareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable valueComparator) Constructor. -
Uses of org.apache.hadoop.hbase.filter.ByteArrayComparable in org.apache.hadoop.hbase.regionserver
Modifier and TypeMethodDescriptionboolean
HRegion.checkAndMutate
(byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.io.TimeRange timeRange, org.apache.hadoop.hbase.client.Mutation mutation) Deprecated.default boolean
Region.checkAndMutate
(byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Mutation mutation) Deprecated.since 3.0.0 and will be removed in 4.0.0.boolean
Region.checkAndMutate
(byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.io.TimeRange timeRange, org.apache.hadoop.hbase.client.Mutation mutation) Deprecated.since 3.0.0 and will be removed in 4.0.0.boolean
HRegion.checkAndRowMutate
(byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.io.TimeRange timeRange, org.apache.hadoop.hbase.client.RowMutations rm) Deprecated.default boolean
Region.checkAndRowMutate
(byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.RowMutations mutations) Deprecated.since 3.0.0 and will be removed in 4.0.0.boolean
Region.checkAndRowMutate
(byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.io.TimeRange timeRange, org.apache.hadoop.hbase.client.RowMutations mutations) Deprecated.since 3.0.0 and will be removed in 4.0.0. -
Uses of org.apache.hadoop.hbase.filter.ByteArrayComparable in org.apache.hadoop.hbase.shaded.protobuf
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.filter.ByteArrayComparable
ProtobufUtil.toComparator
(org.apache.hadoop.hbase.shaded.protobuf.generated.ComparatorProtos.Comparator proto) Convert a protocol buffer Comparator to a ByteArrayComparableModifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.shaded.protobuf.generated.ComparatorProtos.Comparator
ProtobufUtil.toComparator
(org.apache.hadoop.hbase.filter.ByteArrayComparable comparator) Convert a ByteArrayComparable to a protocol buffer Comparator