public static enum AggregationMethodDescriptor.RangeAggregationMethod extends java.lang.Enum<AggregationMethodDescriptor.RangeAggregationMethod>
Enum Constant and Description |
---|
AVG
Average value over the time range.
|
AVG_AVG
First average the value in each time period, then find the average of the averages.
|
AVG_SUM
First sum the value in each time period, then average the sums.
|
LAST
No aggregation; display the last value in the time range.
|
MAX
Maximum value over the time range.
|
MAX_SUM
First sum the value in each time period, then find the maximum of the sums.
|
MIN
Minimum value over the time range.
|
MIN_SUM
First sum the value in each time period, then find the minimum of the sums.
|
NONE
No aggregation; do not display the metric.
|
SUM
Summation of the value over the time range.
|
Modifier and Type | Method and Description |
---|---|
static AggregationMethodDescriptor.RangeAggregationMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AggregationMethodDescriptor.RangeAggregationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AggregationMethodDescriptor.RangeAggregationMethod NONE
public static final AggregationMethodDescriptor.RangeAggregationMethod MIN
public static final AggregationMethodDescriptor.RangeAggregationMethod MAX
public static final AggregationMethodDescriptor.RangeAggregationMethod AVG
public static final AggregationMethodDescriptor.RangeAggregationMethod SUM
public static final AggregationMethodDescriptor.RangeAggregationMethod LAST
public static final AggregationMethodDescriptor.RangeAggregationMethod AVG_SUM
public static final AggregationMethodDescriptor.RangeAggregationMethod MIN_SUM
public static final AggregationMethodDescriptor.RangeAggregationMethod MAX_SUM
public static final AggregationMethodDescriptor.RangeAggregationMethod AVG_AVG
public static AggregationMethodDescriptor.RangeAggregationMethod[] values()
for (AggregationMethodDescriptor.RangeAggregationMethod c : AggregationMethodDescriptor.RangeAggregationMethod.values()) System.out.println(c);
public static AggregationMethodDescriptor.RangeAggregationMethod valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null