Enum Summarization.Kind
- java.lang.Object
-
- java.lang.Enum<Summarization.Kind>
-
- org.hibernate.sql.ast.tree.expression.Summarization.Kind
-
- All Implemented Interfaces:
Serializable
,Comparable<Summarization.Kind>
- Enclosing class:
- Summarization
public static enum Summarization.Kind extends Enum<Summarization.Kind>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
sqlText()
static Summarization.Kind
valueOf(String name)
Returns the enum constant of this type with the specified name.static Summarization.Kind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROLLUP
public static final Summarization.Kind ROLLUP
-
CUBE
public static final Summarization.Kind CUBE
-
-
Method Detail
-
values
public static Summarization.Kind[] 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 (Summarization.Kind c : Summarization.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Summarization.Kind 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
-
sqlText
public String sqlText()
-
-