@Generated(value="software.amazon.awssdk:codegen") public final class Statistics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Statistics.Builder,Statistics>
A map of key-value pairs for all supported statistics. Currently, only count is supported.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Statistics.Builder |
| Modifier and Type | Method and Description |
|---|---|
Double |
average()
The average of the aggregated field values.
|
static Statistics.Builder |
builder() |
Integer |
count()
The count of things that match the query.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Double |
maximum()
The maximum aggregated field value.
|
Double |
minimum()
The minimum aggregated field value.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Statistics.Builder> |
serializableBuilderClass() |
Double |
stdDeviation()
The standard deviation of the aggregated field values.
|
Double |
sum()
The sum of the aggregated field values.
|
Double |
sumOfSquares()
The sum of the squares of the aggregated field values.
|
Statistics.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Double |
variance()
The variance of the aggregated field values.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Integer count()
The count of things that match the query.
public Double average()
The average of the aggregated field values.
public Double sum()
The sum of the aggregated field values.
public Double minimum()
The minimum aggregated field value.
public Double maximum()
The maximum aggregated field value.
public Double sumOfSquares()
The sum of the squares of the aggregated field values.
public Double variance()
The variance of the aggregated field values.
public Double stdDeviation()
The standard deviation of the aggregated field values.
public Statistics.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Statistics.Builder,Statistics>public static Statistics.Builder builder()
public static Class<? extends Statistics.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.