- java.lang.Object
-
- java.lang.Enum<RangeAggregator>
-
- com.pervasive.datarush.monitoring.RangeAggregator
-
- All Implemented Interfaces:
Serializable
,Comparable<RangeAggregator>
public enum RangeAggregator extends Enum<RangeAggregator>
An aggregator for a range of values
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RangeAggregator
valueOf(String name)
Returns the enum constant of this type with the specified name.static RangeAggregator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUM
public static final RangeAggregator SUM
The aggregate low value is computed to be the sum of the low values. The aggregate high value is computed to be the sum of the high values.
-
WIDEST
public static final RangeAggregator WIDEST
The aggregate low value is computed to be the min of the low values. The aggregate high value is computed to be the max of the high values.
-
-
Method Detail
-
values
public static RangeAggregator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RangeAggregator c : RangeAggregator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RangeAggregator valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-