public enum AggregateFunction extends Enum<AggregateFunction>
| Enum Constant and Description |
|---|
APPROXIMATE_COUNT_DISTINCT |
AVG |
COUNT |
FIRST_VALUE |
GEO_INTERSECTION_AGGREGATE |
GEO_UNION_AGGREGATE |
GROUP_CONCAT |
LAST_VALUE |
MAX |
MEDIAN |
MIN |
STDDEV |
STDDEV_POP |
STDDEV_SAMP |
SUM |
VAR_POP |
VAR_SAMP |
VARIANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSimple()
True if the function is simple, i.e.
|
static AggregateFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AggregateFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AggregateFunction COUNT
public static final AggregateFunction SUM
public static final AggregateFunction MIN
public static final AggregateFunction MAX
public static final AggregateFunction AVG
public static final AggregateFunction MEDIAN
public static final AggregateFunction FIRST_VALUE
public static final AggregateFunction LAST_VALUE
public static final AggregateFunction STDDEV
public static final AggregateFunction STDDEV_POP
public static final AggregateFunction STDDEV_SAMP
public static final AggregateFunction VARIANCE
public static final AggregateFunction VAR_POP
public static final AggregateFunction VAR_SAMP
public static final AggregateFunction GROUP_CONCAT
public static final AggregateFunction APPROXIMATE_COUNT_DISTINCT
public static final AggregateFunction GEO_INTERSECTION_AGGREGATE
public static final AggregateFunction GEO_UNION_AGGREGATE
public static AggregateFunction[] values()
for (AggregateFunction c : AggregateFunction.values()) System.out.println(c);
public static AggregateFunction 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 nullpublic boolean isSimple()
SqlFunctionAggregate, and false if it has it's own
implementation.true if the function is simpleCopyright © 2019. All rights reserved.