- All Implemented Interfaces:
Serializable,Comparable<DetailLevel>,java.lang.constant.Constable
Controls the detail level of the statistics calculated by
SummaryStatistics. You can thus trade execution time for
level of detail.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionComputes all statistics.Computes all statistics that can be calculated in a single pass over the data.Computes all simple statistics that can be calculated in a single pass over the data. -
Method Summary
Modifier and TypeMethodDescriptionstatic DetailLevelReturns the enum constant of this class with the specified name.static DetailLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SINGLE_PASS_ONLY_SIMPLE
Computes all simple statistics that can be calculated in a single pass over the data. This includes the following:totalFrequency: calculated for all fieldsmissingFrequency: calculated for all fieldsmin: calculated for all fieldsmax: calculated for all fieldsmean: calculated for fields of type int, long, float, or doublestddev: calculated for fields of type int, long, float, or doublevariance: calculated for fields of type int, long, float, or doublesum: calculated for fields of type int, long, float, or doublesumSquares: calculated for fields of type int, long, float, or double
SummaryStatisticswill run the fastest. -
SINGLE_PASS_ONLY
Computes all statistics that can be calculated in a single pass over the data. This includes everything that was available viaSINGLE_PASS_ONLY_SIMPLEplus the following:correlation: calculated for fields of type int, long, float, or doublecovariance: calculated for fields of type int, long, float, or double
-
MULTI_PASS
Computes all statistics. This includes everything that was available viaSINGLE_PASS_ONLYplus the following:intervalCounts: calculated for fields of type int, long, float, or doublevalueCounts: calculated for all fieldsquantiles: calculated for fields of type int, long, float, or doublemedian: calculated for fields of type int, long, float, or doubleinterQuartileRange: calculated for fields of type int, long, float, or double
-
-
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
-