public enum StatsFunction extends Enum<StatsFunction>
Enum Constant and Description |
---|
AVERAGE |
COUNT |
DISTINCT_COUNT |
DISTINCT_VALUES |
DURATION |
EARLIEST |
FIRST |
LAST |
LATEST |
LIST |
MAX |
MIN |
STDEV |
SUM |
Modifier and Type | Method and Description |
---|---|
static StatsFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatsFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatsFunction LIST
public static final StatsFunction DISTINCT_VALUES
public static final StatsFunction FIRST
public static final StatsFunction LAST
public static final StatsFunction COUNT
public static final StatsFunction DISTINCT_COUNT
public static final StatsFunction SUM
public static final StatsFunction AVERAGE
public static final StatsFunction MAX
public static final StatsFunction MIN
public static final StatsFunction STDEV
public static final StatsFunction DURATION
public static final StatsFunction EARLIEST
public static final StatsFunction LATEST
public static StatsFunction[] values()
for (StatsFunction c : StatsFunction.values()) System.out.println(c);
public static StatsFunction 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 nullCopyright © 2022 Splunk, Inc.. All rights reserved.