Package com.attivio.sdk.search
Enum Sort.NullSortOrder
- java.lang.Object
-
- java.lang.Enum<Sort.NullSortOrder>
-
- com.attivio.sdk.search.Sort.NullSortOrder
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Sort.NullSortOrder>
- Enclosing class:
- Sort
public static enum Sort.NullSortOrder extends java.lang.Enum<Sort.NullSortOrder>
Sort order for NULL values.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Sort.NullSortOrder
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Sort.NullSortOrder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final Sort.NullSortOrder DEFAULT
Default null ordering.Null values will be returned after all other values for ascending sort. Null values will be returned after all other values for descending sort.
-
FIRST
public static final Sort.NullSortOrder FIRST
Null values will be returned before all other values.
-
LAST
public static final Sort.NullSortOrder LAST
Null values will be returned after all other values.
-
-
Method Detail
-
values
public static Sort.NullSortOrder[] 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 (Sort.NullSortOrder c : Sort.NullSortOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Sort.NullSortOrder 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
-
-