public static interface FieldStats.Builder extends CopyableBuilder<FieldStats.Builder,FieldStats>
Modifier and Type | Method and Description |
---|---|
FieldStats.Builder |
count(Long count)
The number of documents that contain a value in the specified field in the result set.
|
FieldStats.Builder |
max(String max)
The maximum value found in the specified field in the result set.
|
FieldStats.Builder |
mean(String mean)
The average of the values found in the specified field in the result set.
|
FieldStats.Builder |
min(String min)
The minimum value found in the specified field in the result set.
|
FieldStats.Builder |
missing(Long missing)
The number of documents that do not contain a value in the specified field in the result set.
|
FieldStats.Builder |
stddev(Double stddev)
The standard deviation of the values in the specified field in the result set.
|
FieldStats.Builder |
sum(Double sum)
The sum of the field values across the documents in the result set.
|
FieldStats.Builder |
sumOfSquares(Double sumOfSquares)
The sum of all field values in the result set squared.
|
copy
apply, build
FieldStats.Builder min(String min)
The minimum value found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), min
is the string representation of a double-precision 64-bit
floating point value. If the field is date
or date-array
, min
is the
string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
min
- The minimum value found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), min
is the string representation of a double-precision 64-bit
floating point value. If the field is date
or date-array
, min
is the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
FieldStats.Builder max(String max)
The maximum value found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), max
is the string representation of a double-precision 64-bit
floating point value. If the field is date
or date-array
, max
is the
string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
max
- The maximum value found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), max
is the string representation of a double-precision 64-bit
floating point value. If the field is date
or date-array
, max
is the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
FieldStats.Builder count(Long count)
The number of documents that contain a value in the specified field in the result set.
count
- The number of documents that contain a value in the specified field in the result set.FieldStats.Builder missing(Long missing)
The number of documents that do not contain a value in the specified field in the result set.
missing
- The number of documents that do not contain a value in the specified field in the result set.FieldStats.Builder sum(Double sum)
The sum of the field values across the documents in the result set. null
for date fields.
sum
- The sum of the field values across the documents in the result set. null
for date fields.FieldStats.Builder sumOfSquares(Double sumOfSquares)
The sum of all field values in the result set squared.
sumOfSquares
- The sum of all field values in the result set squared.FieldStats.Builder mean(String mean)
The average of the values found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), mean
is the string representation of a double-precision 64-bit
floating point value. If the field is date
or date-array
, mean
is the
string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
mean
- The average of the values found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), mean
is the string representation of a double-precision
64-bit floating point value. If the field is date
or date-array
,
mean
is the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
FieldStats.Builder stddev(Double stddev)
The standard deviation of the values in the specified field in the result set.
stddev
- The standard deviation of the values in the specified field in the result set.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.