| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudSearchDomains.Types.FieldStats
Description
Synopsis
- data FieldStats = FieldStats' {}
- newFieldStats :: FieldStats
- fieldStats_count :: Lens' FieldStats (Maybe Integer)
- fieldStats_max :: Lens' FieldStats (Maybe Text)
- fieldStats_mean :: Lens' FieldStats (Maybe Text)
- fieldStats_min :: Lens' FieldStats (Maybe Text)
- fieldStats_missing :: Lens' FieldStats (Maybe Integer)
- fieldStats_stddev :: Lens' FieldStats (Maybe Double)
- fieldStats_sum :: Lens' FieldStats (Maybe Double)
- fieldStats_sumOfSquares :: Lens' FieldStats (Maybe Double)
Documentation
data FieldStats Source #
The statistics for a field calculated in the request.
See: newFieldStats smart constructor.
Constructors
| FieldStats' | |
Fields
| |
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:count:FieldStats', fieldStats_count - The number of documents that contain a value in the specified field in
the result set.
$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: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: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:sum:FieldStats', fieldStats_sum - The sum of the field values across the documents in the result set.
null for date fields.
$sel:sumOfSquares:FieldStats', fieldStats_sumOfSquares - The sum of all field values in the result set squared.
fieldStats_count :: Lens' FieldStats (Maybe Integer) Source #
The number of documents that contain a value in the specified field in the result set.
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_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_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_sum :: Lens' FieldStats (Maybe Double) Source #
The sum of the field values across the documents in the result set.
null for date fields.
fieldStats_sumOfSquares :: Lens' FieldStats (Maybe Double) Source #
The sum of all field values in the result set squared.