Package org.apache.calcite.rel
Enum RelFieldCollation.NullDirection
- java.lang.Object
-
- java.lang.Enum<RelFieldCollation.NullDirection>
-
- org.apache.calcite.rel.RelFieldCollation.NullDirection
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RelFieldCollation.NullDirection>
- Enclosing class:
- RelFieldCollation
public static enum RelFieldCollation.NullDirection extends java.lang.Enum<RelFieldCollation.NullDirection>
Ordering of nulls.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIRST
LAST
UNSPECIFIED
-
Field Summary
Fields Modifier and Type Field Description int
nullComparison
-
Constructor Summary
Constructors Modifier Constructor Description private
NullDirection(int nullComparison)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RelFieldCollation.NullDirection
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RelFieldCollation.NullDirection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIRST
public static final RelFieldCollation.NullDirection FIRST
-
LAST
public static final RelFieldCollation.NullDirection LAST
-
UNSPECIFIED
public static final RelFieldCollation.NullDirection UNSPECIFIED
-
-
Method Detail
-
values
public static RelFieldCollation.NullDirection[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RelFieldCollation.NullDirection c : RelFieldCollation.NullDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelFieldCollation.NullDirection valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-