Package io.keikai.axyra.sheets
Enum Class AggregateFunction
- All Implemented Interfaces:
Serializable,Comparable<AggregateFunction>,Constable
Aggregate function for a pivot table data (values) field.
Mirrors ECMA-376 Part 1 §18.18.18 ST_DataConsolidateFunction,
the value set of the subtotal attribute on <dataField>.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic AggregateFunctionParses an ST_DataConsolidateFunction string (case-insensitive).ooxml()The ST_DataConsolidateFunction string ("sum", "countNums", ...).static AggregateFunctionReturns the enum constant of this class with the specified name.static AggregateFunction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUM
-
COUNT
-
AVERAGE
-
MAX
-
MIN
-
PRODUCT
-
COUNT_NUMS
Count of numeric values only (countNums). -
STD_DEV
Sample standard deviation (stdDev). -
STD_DEVP
Population standard deviation (stdDevp). -
VAR
Sample variance (var). -
VARP
Population variance (varp).
-
-
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
-
ooxml
The ST_DataConsolidateFunction string ("sum", "countNums", ...). -
fromOoxml
Parses an ST_DataConsolidateFunction string (case-insensitive).
-