@Generated(value="software.amazon.awssdk:codegen") public class FieldStats extends Object implements StructuredPojo, ToCopyableBuilder<FieldStats.Builder,FieldStats>
The statistics for a field calculated in the request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FieldStats.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FieldStats.Builder |
builder() |
Long |
count()
The number of documents that contain a value in the specified field in the result set.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
max()
The maximum value found in the specified field in the result set.
|
String |
mean()
The average of the values found in the specified field in the result set.
|
String |
min()
The minimum value found in the specified field in the result set.
|
Long |
missing()
The number of documents that do not contain a value in the specified field in the result set.
|
static Class<? extends FieldStats.Builder> |
serializableBuilderClass() |
Double |
stddev()
The standard deviation of the values in the specified field in the result set.
|
Double |
sum()
The sum of the field values across the documents in the result set.
|
Double |
sumOfSquares()
The sum of all field values in the result set squared.
|
FieldStats.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic 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.
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.
public 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.
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.
public Long count()
The number of documents that contain a value in the specified field in the result set.
public Long missing()
The number of documents that do not contain a value in the specified field in the result set.
public Double sum()
The sum of the field values across the documents in the result set. null for date fields.
null for date fields.public Double sumOfSquares()
The sum of all field values in the result set squared.
public 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.
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.
public Double stddev()
The standard deviation of the values in the specified field in the result set.
public FieldStats.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<FieldStats.Builder,FieldStats>public static FieldStats.Builder builder()
public static Class<? extends FieldStats.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.