- java.lang.Object
-
- java.lang.Enum<AnalyticType>
-
- net.sf.jsqlparser.expression.AnalyticType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AnalyticType>
public enum AnalyticType extends java.lang.Enum<AnalyticType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILTER_ONLY
OVER
WITHIN_GROUP
WITHIN_GROUP_OVER
-
Constructor Summary
Constructors Modifier Constructor Description private
AnalyticType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AnalyticType
from(java.lang.String type)
static AnalyticType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AnalyticType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OVER
public static final AnalyticType OVER
-
WITHIN_GROUP
public static final AnalyticType WITHIN_GROUP
-
WITHIN_GROUP_OVER
public static final AnalyticType WITHIN_GROUP_OVER
-
FILTER_ONLY
public static final AnalyticType FILTER_ONLY
-
-
Method Detail
-
values
public static AnalyticType[] 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 (AnalyticType c : AnalyticType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnalyticType 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
-
from
public static AnalyticType from(java.lang.String type)
-
-