public enum AggregationFunction extends Enum<AggregationFunction>
| Enum Constant and Description |
|---|
AVG |
CARD |
COUNT |
MAX |
MIN |
STDDEV |
SUM |
SUMOFSQUARES |
VARIANCE |
| Modifier and Type | Method and Description |
|---|---|
String |
toSeriesId(Optional<String> field) |
SeriesSpec |
toSeriesSpec(String id,
String field) |
static AggregationFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AggregationFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AggregationFunction AVG
public static final AggregationFunction CARD
public static final AggregationFunction COUNT
public static final AggregationFunction MAX
public static final AggregationFunction MIN
public static final AggregationFunction STDDEV
public static final AggregationFunction SUM
public static final AggregationFunction SUMOFSQUARES
public static final AggregationFunction VARIANCE
public static AggregationFunction[] values()
for (AggregationFunction c : AggregationFunction.values()) System.out.println(c);
public static AggregationFunction 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 SeriesSpec toSeriesSpec(String id, @Nullable String field)
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.