Enum WUQueryWrapper.SortBy
- java.lang.Object
-
- java.lang.Enum<WUQueryWrapper.SortBy>
-
- org.hpccsystems.ws.client.wrappers.wsworkunits.WUQueryWrapper.SortBy
-
- All Implemented Interfaces:
Serializable,Comparable<WUQueryWrapper.SortBy>
- Enclosing class:
- WUQueryWrapper
public static enum WUQueryWrapper.SortBy extends Enum<WUQueryWrapper.SortBy>
This enum was created to address the profound lack of documentation about what values are valid for the string sortby parameter. The list was lifted from ws_workunitsService.cpp readWUQuerySortOrder in HPCC_Platform. It's specific to WUQuery, therefore it's an internal class
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WUQueryWrapper.SortByvalueOf(String name)Returns the enum constant of this type with the specified name.static WUQueryWrapper.SortBy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WUID
public static final WUQueryWrapper.SortBy WUID
-
Owner
public static final WUQueryWrapper.SortBy Owner
-
Jobname
public static final WUQueryWrapper.SortBy Jobname
-
Cluster
public static final WUQueryWrapper.SortBy Cluster
-
Protected
public static final WUQueryWrapper.SortBy Protected
-
State
public static final WUQueryWrapper.SortBy State
-
-
Method Detail
-
values
public static WUQueryWrapper.SortBy[] 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 (WUQueryWrapper.SortBy c : WUQueryWrapper.SortBy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WUQueryWrapper.SortBy 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
-
-