public enum ArrayFunc extends java.lang.Enum<ArrayFunc>
SQLExpression
s.Enum Constant and Description |
---|
GREATEST
select the greatest value from the array
|
LEAST
select the least value from the array.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
combine(java.lang.Comparable a,
java.lang.Comparable b) |
static ArrayFunc |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArrayFunc[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArrayFunc GREATEST
public static final ArrayFunc LEAST
public static ArrayFunc[] values()
for (ArrayFunc c : ArrayFunc.values()) System.out.println(c);
public static ArrayFunc valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract java.lang.Object combine(java.lang.Comparable a, java.lang.Comparable b)