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
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleangt(int lhs, int rhs) Returns true whenlhs > rhs.abstract byteinc(byte val) Returnsvalincremented by 1.abstract booleanisMax(byte val) Return true whenvalis the maximum valueabstract booleanlt(int lhs, int rhs) Returns true whenlhs < rhs.abstract bytemin()Return the minimum value according to this ordering scheme.static FuzzyRowFilter.OrderorderFor(boolean reverse) static FuzzyRowFilter.OrderReturns 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
Returnsvalincremented by 1. -
isMax
Return true whenvalis the maximum value -
min
Return the minimum value according to this ordering scheme.
-