@Generated(value="software.amazon.awssdk:codegen") public final class FieldStats extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
List<SdkField<?>> |
sdkFields() |
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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 final 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 final Long count()
The number of documents that contain a value in the specified field in the result set.
public final Long missing()
The number of documents that do not contain a value in the specified field in the result set.
public final Double sum()
The sum of the field values across the documents in the result set. null for date fields.
null for date fields.public final Double sumOfSquares()
The sum of all field values in the result set squared.
public final 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 final Double stddev()
The standard deviation of the values in the specified field in the result set.
public FieldStats.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FieldStats.Builder,FieldStats>public static FieldStats.Builder builder()
public static Class<? extends FieldStats.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.