Enum OrderByField.Direction
- java.lang.Object
-
- java.lang.Enum<OrderByField.Direction>
-
- com.amazonaws.athena.connector.lambda.domain.predicate.OrderByField.Direction
-
- All Implemented Interfaces:
Serializable,Comparable<OrderByField.Direction>
- Enclosing class:
- OrderByField
public static enum OrderByField.Direction extends Enum<OrderByField.Direction>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASC_NULLS_FIRSTASC_NULLS_LASTDESC_NULLS_FIRSTDESC_NULLS_LAST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAscending()booleanisNullsFirst()StringtoString()static OrderByField.DirectionvalueOf(String name)Returns the enum constant of this type with the specified name.static OrderByField.Direction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASC_NULLS_FIRST
public static final OrderByField.Direction ASC_NULLS_FIRST
-
ASC_NULLS_LAST
public static final OrderByField.Direction ASC_NULLS_LAST
-
DESC_NULLS_FIRST
public static final OrderByField.Direction DESC_NULLS_FIRST
-
DESC_NULLS_LAST
public static final OrderByField.Direction DESC_NULLS_LAST
-
-
Method Detail
-
values
public static OrderByField.Direction[] 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 (OrderByField.Direction c : OrderByField.Direction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OrderByField.Direction valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isAscending
public boolean isAscending()
-
isNullsFirst
public boolean isNullsFirst()
-
toString
public String toString()
- Overrides:
toStringin classEnum<OrderByField.Direction>
-
-