Package io.deephaven.engine.util
Enum Class TotalsTableBuilder.AggType
- All Implemented Interfaces:
Serializable
,Comparable<TotalsTableBuilder.AggType>
,java.lang.constant.Constable
- Enclosing class:
- TotalsTableBuilder
Enumeration representing valid aggregation types for
TotalsTableBuilder
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionReturn the sum of absolute values in each group.Return the average of values in each group.Return the number of rows in each group.Return the number of unique values in each groupCollect the distinct items from the columnReturn the first value of each group.Return the values of each group as a Vector.Return the last value of each group.Return the maximum value of each group.Return the minimum value of each group.Only valid in a TotalsTableBuilder to indicate we should not perform any aggregation.Return the sample standard deviation of each group.Return the sum of values in each group.Display the singular value from the column if it is unique, or a default value if none are present, or it is not uniqueReturn the sample variance of values in each group. -
Method Summary
Modifier and TypeMethodDescriptionstatic TotalsTableBuilder.AggType
Returns the enum constant of this class with the specified name.static TotalsTableBuilder.AggType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Count
Return the number of rows in each group. -
Min
Return the minimum value of each group. -
Max
Return the maximum value of each group. -
Sum
Return the sum of values in each group. -
AbsSum
Return the sum of absolute values in each group. -
Var
Return the sample variance of values in each group. -
Avg
Return the average of values in each group. -
Std
Return the sample standard deviation of each group. -
First
Return the first value of each group. -
Last
Return the last value of each group. -
Group
Return the values of each group as a Vector. -
CountDistinct
Return the number of unique values in each group -
Distinct
Collect the distinct items from the column -
Unique
Display the singular value from the column if it is unique, or a default value if none are present, or it is not unique -
Skip
Only valid in a TotalsTableBuilder to indicate we should not perform any aggregation.
-
-
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
-