Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data FieldStats = FieldStats' {}
- newFieldStats :: FieldStats
- fieldStats_max :: Lens' FieldStats (Maybe Text)
- fieldStats_mean :: Lens' FieldStats (Maybe Text)
- fieldStats_count :: Lens' FieldStats (Maybe Integer)
- fieldStats_missing :: Lens' FieldStats (Maybe Integer)
- fieldStats_stddev :: Lens' FieldStats (Maybe Double)
- fieldStats_min :: Lens' FieldStats (Maybe Text)
- fieldStats_sumOfSquares :: Lens' FieldStats (Maybe Double)
- fieldStats_sum :: Lens' FieldStats (Maybe Double)
Documentation
data FieldStats Source #
The statistics for a field calculated in the request.
See: newFieldStats
smart constructor.
FieldStats' | |
|
Instances
newFieldStats :: FieldStats Source #
Create a value of FieldStats
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:max:FieldStats'
, fieldStats_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.
$sel:mean:FieldStats'
, fieldStats_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.
$sel:count:FieldStats'
, fieldStats_count
- The number of documents that contain a value in the specified field in
the result set.
$sel:missing:FieldStats'
, fieldStats_missing
- The number of documents that do not contain a value in the specified
field in the result set.
$sel:stddev:FieldStats'
, fieldStats_stddev
- The standard deviation of the values in the specified field in the
result set.
$sel:min:FieldStats'
, fieldStats_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.
$sel:sumOfSquares:FieldStats'
, fieldStats_sumOfSquares
- The sum of all field values in the result set squared.
$sel:sum:FieldStats'
, fieldStats_sum
- The sum of the field values across the documents in the result set.
null
for date fields.
fieldStats_max :: Lens' FieldStats (Maybe Text) Source #
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_mean :: Lens' FieldStats (Maybe Text) Source #
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_count :: Lens' FieldStats (Maybe Integer) Source #
The number of documents that contain a value in the specified field in the result set.
fieldStats_missing :: Lens' FieldStats (Maybe Integer) Source #
The number of documents that do not contain a value in the specified field in the result set.
fieldStats_stddev :: Lens' FieldStats (Maybe Double) Source #
The standard deviation of the values in the specified field in the result set.
fieldStats_min :: Lens' FieldStats (Maybe Text) Source #
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_sumOfSquares :: Lens' FieldStats (Maybe Double) Source #
The sum of all field values in the result set squared.
fieldStats_sum :: Lens' FieldStats (Maybe Double) Source #
The sum of the field values across the documents in the result set.
null
for date fields.