public enum DetailLevel extends Enum<DetailLevel>
SummaryStatistics
. You can thus trade execution time for
level of detail.Enum Constant and 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.
|
Modifier and Type | Method and 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.
|
public static final DetailLevel SINGLE_PASS_ONLY_SIMPLE
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 doubleSummaryStatistics
will run the fastest.public static final DetailLevel SINGLE_PASS_ONLY
SINGLE_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 doublepublic static final DetailLevel MULTI_PASS
SINGLE_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 doublepublic static DetailLevel[] values()
for (DetailLevel c : DetailLevel.values()) System.out.println(c);
public static DetailLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 Actian Corporation. All rights reserved.