public enum AggregationMode extends java.lang.Enum<AggregationMode> implements Aggregate
Enum Constant and Description |
---|
Average
Returns the time-weighted average value during the period.
|
Count
Returns the number of "good", non-interpolated values per window.
|
CountOff
Returns the number of times that the value has transitioned to boolean false in the window.
|
CountOn
Returns the number of times that the value has transitioned to boolean true in the window.
|
DurationOff
Returns the time, in seconds, that a value has been boolean false.
|
DurationOn
Returns the time, in seconds, that a value has been boolean true.
|
LastValue
Returns the value closest to the window boundary
|
Maximum |
Minimum |
MinMax
Returns the min and max values for the period.
|
PctBad |
PctGood |
Range
Returns the difference between min and max
|
SimpleAverage
Returns the simple numerical average (sum(values)/count)
|
StdDev
Returns the standard deviation for "good", non-interpolated values.
|
Sum
Returns the sum of the values contained in the window.
|
Variance
Returns the variance for "good", non-interpolated values.
|
AD_HOC_PYTHON_ID, CUSTOM_RESERVED_ID, PYTHON_LIB_ID
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDesc()
A possible description for how the aggregate behaves.
|
int |
getId()
Returns the identifier for the aggregate.
|
java.lang.String |
getName()
A display name for the aggregate.
|
static AggregationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AggregationMode |
valueOfCaseInsensitive(java.lang.String name) |
static AggregationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AggregationMode Average
public static final AggregationMode MinMax
public static final AggregationMode LastValue
public static final AggregationMode SimpleAverage
public static final AggregationMode Sum
public static final AggregationMode Minimum
public static final AggregationMode Maximum
public static final AggregationMode DurationOn
public static final AggregationMode DurationOff
public static final AggregationMode CountOn
public static final AggregationMode CountOff
public static final AggregationMode Count
public static final AggregationMode Range
public static final AggregationMode Variance
public static final AggregationMode StdDev
public static final AggregationMode PctGood
public static final AggregationMode PctBad
public static AggregationMode[] values()
for (AggregationMode c : AggregationMode.values()) System.out.println(c);
public static AggregationMode 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 nullpublic static AggregationMode valueOfCaseInsensitive(java.lang.String name)
public int getId()
Aggregate
public java.lang.String getName()
Aggregate