- java.lang.Object
-
- java.lang.Enum<DetailLevel>
-
- com.pervasive.datarush.analytics.stats.DetailLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<DetailLevel>
public enum DetailLevel extends Enum<DetailLevel>
Controls the detail level of the statistics calculated bySummaryStatistics
. You can thus trade execution time for level of detail.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MULTI_PASS
Computes all statistics.SINGLE_PASS_ONLY
Computes all statistics that can be calculated in a single pass over the data.SINGLE_PASS_ONLY_SIMPLE
Computes all simple statistics that can be calculated in a single pass over the data.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DetailLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static DetailLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE_PASS_ONLY_SIMPLE
public static final DetailLevel 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
SummaryStatistics
will run the fastest.
-
SINGLE_PASS_ONLY
public static final DetailLevel 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_SIMPLE
plus 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
public static final DetailLevel MULTI_PASS
Computes all statistics. This includes everything that was available viaSINGLE_PASS_ONLY
plus 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 Detail
-
values
public static DetailLevel[] 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 (DetailLevel c : DetailLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DetailLevel 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
-
-