Package mondrian.olap.fun.sort
Enum Sorter.Flag
- java.lang.Object
-
- java.lang.Enum<Sorter.Flag>
-
- mondrian.olap.fun.sort.Sorter.Flag
-
- All Implemented Interfaces:
Serializable
,Comparable<Sorter.Flag>
- Enclosing class:
- Sorter
public static enum Sorter.Flag extends Enum<Sorter.Flag>
Enumeration of the flags allowed to theORDER
MDX function.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
brk
boolean
descending
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String[]
getNames()
static Sorter.Flag
valueOf(String name)
Returns the enum constant of this type with the specified name.static Sorter.Flag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASC
public static final Sorter.Flag ASC
-
DESC
public static final Sorter.Flag DESC
-
BASC
public static final Sorter.Flag BASC
-
BDESC
public static final Sorter.Flag BDESC
-
-
Method Detail
-
values
public static Sorter.Flag[] 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 (Sorter.Flag c : Sorter.Flag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Sorter.Flag 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
-
getNames
public static String[] getNames()
-
-