public static final class AggregateStatisticsRequest.Stats extends Object
COUNT
: Number
of objects (independent of the given column(s)).
MEAN
:
Arithmetic mean (average), equivalent to sum/count.
STDV
: Sample
standard deviation (denominator is count-1).
VARIANCE
:
Unbiased sample variance (denominator is count-1).
SKEW
: Skewness
(third standardized moment).
KURTOSIS
:
Kurtosis (fourth standardized moment).
SUM
: Sum of all
values in the column(s).
MIN
: Minimum
value of the column(s).
MAX
: Maximum
value of the column(s).
WEIGHTED_AVERAGE
: Weighted arithmetic mean (using the option weight_column_name
as the weighting column).
CARDINALITY
: Number of unique values in the column(s).
ESTIMATED_CARDINALITY
: Estimate (via hyperloglog technique) of the
number of unique values in the column(s).
PERCENTILE
: Estimate (via t-digest) of the given percentile of the
column(s) (percentile(50.0) will be an approximation of the median). Add
a second, comma-separated value to calculate percentile resolution,
e.g., 'percentile(75,150)'
PERCENTILE_RANK
: Estimate (via t-digest) of the percentile rank of the
given value in the column(s) (if the given value is the median of the
column(s), percentile_rank(stats
.Modifier and Type | Field and Description |
---|---|
static String |
CARDINALITY
Number of unique values in the column(s).
|
static String |
COUNT
Number of objects (independent of the given column(s)).
|
static String |
ESTIMATED_CARDINALITY
Estimate (via hyperloglog technique) of the number of unique values
in the column(s).
|
static String |
KURTOSIS
Kurtosis (fourth standardized moment).
|
static String |
MAX
Maximum value of the column(s).
|
static String |
MEAN
Arithmetic mean (average), equivalent to sum/count.
|
static String |
MIN
Minimum value of the column(s).
|
static String |
PERCENTILE
Estimate (via t-digest) of the given percentile of the column(s)
(percentile(50.0) will be an approximation of the median).
|
static String |
PERCENTILE_RANK
Estimate (via t-digest) of the percentile rank of the given value in
the column(s) (if the given value is the median of the column(s),
percentile_rank(
|
static String |
SKEW
Skewness (third standardized moment).
|
static String |
STDV
Sample standard deviation (denominator is count-1).
|
static String |
SUM
Sum of all values in the column(s).
|
static String |
VARIANCE
Unbiased sample variance (denominator is count-1).
|
static String |
WEIGHTED_AVERAGE
Weighted arithmetic mean (using the option
weight_column_name as the weighting column). |
public static final String COUNT
public static final String MEAN
public static final String STDV
public static final String VARIANCE
public static final String SKEW
public static final String KURTOSIS
public static final String SUM
public static final String MIN
public static final String MAX
public static final String WEIGHTED_AVERAGE
weight_column_name
as the weighting column).public static final String CARDINALITY
public static final String ESTIMATED_CARDINALITY
public static final String PERCENTILE
public static final String PERCENTILE_RANK
Copyright © 2019. All rights reserved.