public static enum GroupingElement.Kind extends Enum<GroupingElement.Kind>
GROUP BY element.| Enum Constant and Description |
|---|
CUBE
CUBE(...). |
GROUPING_SETS
GROUPING SETS(...). |
ROLLUP
ROLLUP(...). |
SIMPLE
A plain grouping expression or parenthesized expression list.
|
| Modifier and Type | Method and Description |
|---|---|
static GroupingElement.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupingElement.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupingElement.Kind SIMPLE
public static final GroupingElement.Kind ROLLUP
ROLLUP(...).public static final GroupingElement.Kind CUBE
CUBE(...).public static final GroupingElement.Kind GROUPING_SETS
GROUPING SETS(...).public static GroupingElement.Kind[] values()
for (GroupingElement.Kind c : GroupingElement.Kind.values()) System.out.println(c);
public static GroupingElement.Kind valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null