Package org.apache.hadoop.hbase.filter
Enum Class FuzzyRowFilter.Order
- All Implemented Interfaces:
Serializable
,Comparable<FuzzyRowFilter.Order>
,Constable
- Enclosing class:
- FuzzyRowFilter
Abstracts directional comparisons based on scan direction.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
gt
(int lhs, int rhs) Returns true whenlhs > rhs
.abstract byte
inc
(byte val) Returnsval
incremented by 1.abstract boolean
isMax
(byte val) Return true whenval
is the maximum valueabstract boolean
lt
(int lhs, int rhs) Returns true whenlhs < rhs
.abstract byte
min()
Return the minimum value according to this ordering scheme.static FuzzyRowFilter.Order
orderFor
(boolean reverse) static FuzzyRowFilter.Order
Returns the enum constant of this class with the specified name.static FuzzyRowFilter.Order[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ASC
-
DESC
-
-
Constructor Details
-
Order
private Order()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
orderFor
-
lt
Returns true whenlhs < rhs
. -
gt
Returns true whenlhs > rhs
. -
inc
Returnsval
incremented by 1. -
isMax
Return true whenval
is the maximum value -
min
Return the minimum value according to this ordering scheme.
-