Package org.teiid.query.sql.symbol
Enum AggregateSymbol.Type
- java.lang.Object
-
- java.lang.Enum<AggregateSymbol.Type>
-
- org.teiid.query.sql.symbol.AggregateSymbol.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<AggregateSymbol.Type>
- Enclosing class:
- AggregateSymbol
public static enum AggregateSymbol.Type extends Enum<AggregateSymbol.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
ARRAY_AGG
AVG
COUNT
COUNT_BIG
CUME_DIST
DENSE_RANK
EVERY
FIRST_VALUE
JSONARRAY_AGG
LAG
LAST_VALUE
LEAD
MAX
MIN
NTH_VALUE
NTILE
PERCENT_RANK
RANK
ROW_NUMBER
SOME
STDDEV_POP
STDDEV_SAMP
STRING_AGG
SUM
TEXTAGG
USER_DEFINED
VAR_POP
VAR_SAMP
XMLAGG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAnalytical()
static AggregateSymbol.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static AggregateSymbol.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COUNT_BIG
public static final AggregateSymbol.Type COUNT_BIG
-
COUNT
public static final AggregateSymbol.Type COUNT
-
SUM
public static final AggregateSymbol.Type SUM
-
AVG
public static final AggregateSymbol.Type AVG
-
MIN
public static final AggregateSymbol.Type MIN
-
MAX
public static final AggregateSymbol.Type MAX
-
XMLAGG
public static final AggregateSymbol.Type XMLAGG
-
TEXTAGG
public static final AggregateSymbol.Type TEXTAGG
-
ARRAY_AGG
public static final AggregateSymbol.Type ARRAY_AGG
-
JSONARRAY_AGG
public static final AggregateSymbol.Type JSONARRAY_AGG
-
ANY
public static final AggregateSymbol.Type ANY
-
SOME
public static final AggregateSymbol.Type SOME
-
EVERY
public static final AggregateSymbol.Type EVERY
-
STDDEV_POP
public static final AggregateSymbol.Type STDDEV_POP
-
STDDEV_SAMP
public static final AggregateSymbol.Type STDDEV_SAMP
-
VAR_POP
public static final AggregateSymbol.Type VAR_POP
-
VAR_SAMP
public static final AggregateSymbol.Type VAR_SAMP
-
RANK
public static final AggregateSymbol.Type RANK
-
DENSE_RANK
public static final AggregateSymbol.Type DENSE_RANK
-
PERCENT_RANK
public static final AggregateSymbol.Type PERCENT_RANK
-
CUME_DIST
public static final AggregateSymbol.Type CUME_DIST
-
ROW_NUMBER
public static final AggregateSymbol.Type ROW_NUMBER
-
FIRST_VALUE
public static final AggregateSymbol.Type FIRST_VALUE
-
LAST_VALUE
public static final AggregateSymbol.Type LAST_VALUE
-
LEAD
public static final AggregateSymbol.Type LEAD
-
LAG
public static final AggregateSymbol.Type LAG
-
STRING_AGG
public static final AggregateSymbol.Type STRING_AGG
-
NTILE
public static final AggregateSymbol.Type NTILE
-
NTH_VALUE
public static final AggregateSymbol.Type NTH_VALUE
-
USER_DEFINED
public static final AggregateSymbol.Type USER_DEFINED
-
-
Method Detail
-
values
public static AggregateSymbol.Type[] 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 (AggregateSymbol.Type c : AggregateSymbol.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AggregateSymbol.Type 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
-
isAnalytical
public boolean isAnalytical()
-
-