Module net.sf.jsqlparser
Enum OrderByElement.NullOrdering
- java.lang.Object
-
- java.lang.Enum<OrderByElement.NullOrdering>
-
- net.sf.jsqlparser.statement.select.OrderByElement.NullOrdering
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OrderByElement.NullOrdering>
- Enclosing class:
- OrderByElement
public static enum OrderByElement.NullOrdering extends java.lang.Enum<OrderByElement.NullOrdering>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NULLS_FIRST
NULLS_LAST
-
Constructor Summary
Constructors Modifier Constructor Description private
NullOrdering()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OrderByElement.NullOrdering
from(java.lang.String ordering)
static OrderByElement.NullOrdering
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static OrderByElement.NullOrdering[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULLS_FIRST
public static final OrderByElement.NullOrdering NULLS_FIRST
-
NULLS_LAST
public static final OrderByElement.NullOrdering NULLS_LAST
-
-
Method Detail
-
values
public static OrderByElement.NullOrdering[] 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 (OrderByElement.NullOrdering c : OrderByElement.NullOrdering.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OrderByElement.NullOrdering 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
-
from
public static OrderByElement.NullOrdering from(java.lang.String ordering)
-
-