Enum Class LongToWide.Aggregation
- All Implemented Interfaces:
Serializable, Comparable<LongToWide.Aggregation>, Constable
- Enclosing class:
LongToWide
How multiple long rows for the same (unit, level) combination are combined into one wide cell.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe number of long rows for the combination, as a continuous column (the value variable's own values are ignored; zero rows gives 0, not missing).Throw an exception naming the number of duplicated combinations.Keep the first row in file order.Keep the last row in file order.The maximum of the values (continuous only; missing values ignored).The mean of the values (continuous only; missing values ignored).The minimum of the values (continuous only; missing values ignored).The sum of the values (continuous only; missing values ignored). -
Method Summary
Modifier and TypeMethodDescriptionstatic LongToWide.AggregationReturns the enum constant of this class with the specified name.static LongToWide.Aggregation[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
FAIL
Throw an exception naming the number of duplicated combinations. The default. -
FIRST
Keep the first row in file order. -
LAST
Keep the last row in file order. -
MEAN
The mean of the values (continuous only; missing values ignored). -
MIN
The minimum of the values (continuous only; missing values ignored). -
MAX
The maximum of the values (continuous only; missing values ignored). -
SUM
The sum of the values (continuous only; missing values ignored). -
COUNT
The number of long rows for the combination, as a continuous column (the value variable's own values are ignored; zero rows gives 0, not missing).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-