public static enum ComparisonRange.Type extends Enum<ComparisonRange.Type>
ComparisonRange.tryToAdd(Comparisons.Comparison)
.
Furthermore, the planner uses this trichotomy of range types to determine other planning behavior. For example, an index scan must involve (from left to right) any number of equality ranges on the fields, followed by a single, optional inequality range, followed by any number of empty ranges.
Enum Constant and Description |
---|
EMPTY |
EQUALITY |
INEQUALITY |
Modifier and Type | Method and Description |
---|---|
static ComparisonRange.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComparisonRange.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComparisonRange.Type EMPTY
public static final ComparisonRange.Type EQUALITY
public static final ComparisonRange.Type INEQUALITY
public static ComparisonRange.Type[] values()
for (ComparisonRange.Type c : ComparisonRange.Type.values()) System.out.println(c);
public static ComparisonRange.Type 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 null