private static enum FuzzyRowFilter.Order extends Enum<FuzzyRowFilter.Order>
Modifier and Type | Method and Description |
---|---|
abstract boolean |
gt(int lhs,
int rhs)
Returns true when
lhs > rhs . |
abstract byte |
inc(byte val)
Returns
val incremented by 1. |
abstract boolean |
isMax(byte val)
Return true when
val is the maximum value |
abstract boolean |
lt(int lhs,
int rhs)
Returns true when
lhs < rhs . |
abstract byte |
min()
Return the minimum value according to this ordering scheme.
|
static FuzzyRowFilter.Order |
orderFor(boolean reverse) |
static FuzzyRowFilter.Order |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FuzzyRowFilter.Order[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FuzzyRowFilter.Order ASC
public static final FuzzyRowFilter.Order DESC
public static FuzzyRowFilter.Order[] values()
for (FuzzyRowFilter.Order c : FuzzyRowFilter.Order.values()) System.out.println(c);
public static FuzzyRowFilter.Order valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static FuzzyRowFilter.Order orderFor(boolean reverse)
public abstract boolean lt(int lhs, int rhs)
lhs < rhs
.public abstract boolean gt(int lhs, int rhs)
lhs > rhs
.public abstract byte inc(byte val)
val
incremented by 1.public abstract boolean isMax(byte val)
val
is the maximum valuepublic abstract byte min()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.