@Generated(value="software.amazon.awssdk:codegen") public final class Statistics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Statistics.Builder,Statistics>
Provides statistics for each data field imported into to an Amazon Forecast dataset with the CreateDatasetImportJob operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Statistics.Builder |
| Modifier and Type | Method and Description |
|---|---|
Double |
avg()
For a numeric field, the average value in the field.
|
static Statistics.Builder |
builder() |
Integer |
count()
The number of values in the field.
|
Integer |
countDistinct()
The number of distinct values in the field.
|
Long |
countDistinctLong()
The number of distinct values in the field.
|
Long |
countLong()
The number of values in the field.
|
Integer |
countNan()
The number of NAN (not a number) values in the field.
|
Long |
countNanLong()
The number of NAN (not a number) values in the field.
|
Integer |
countNull()
The number of null values in the field.
|
Long |
countNullLong()
The number of null values in the field.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
max()
For a numeric field, the maximum value in the field.
|
String |
min()
For a numeric field, the minimum value in the field.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Statistics.Builder> |
serializableBuilderClass() |
Double |
stddev()
For a numeric field, the standard deviation.
|
Statistics.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer count()
The number of values in the field. If the response value is -1, refer to CountLong.
CountLong.public final Integer countDistinct()
The number of distinct values in the field. If the response value is -1, refer to CountDistinctLong.
CountDistinctLong.public final Integer countNull()
The number of null values in the field. If the response value is -1, refer to CountNullLong.
CountNullLong.public final Integer countNan()
The number of NAN (not a number) values in the field. If the response value is -1, refer to
CountNanLong.
CountNanLong.public final String min()
For a numeric field, the minimum value in the field.
public final String max()
For a numeric field, the maximum value in the field.
public final Double avg()
For a numeric field, the average value in the field.
public final Double stddev()
For a numeric field, the standard deviation.
public final Long countLong()
The number of values in the field. CountLong is used instead of Count if the value is
greater than 2,147,483,647.
CountLong is used instead of Count if the
value is greater than 2,147,483,647.public final Long countDistinctLong()
The number of distinct values in the field. CountDistinctLong is used instead of
CountDistinct if the value is greater than 2,147,483,647.
CountDistinctLong is used instead of
CountDistinct if the value is greater than 2,147,483,647.public final Long countNullLong()
The number of null values in the field. CountNullLong is used instead of CountNull if
the value is greater than 2,147,483,647.
CountNullLong is used instead of
CountNull if the value is greater than 2,147,483,647.public final Long countNanLong()
The number of NAN (not a number) values in the field. CountNanLong is used instead of
CountNan if the value is greater than 2,147,483,647.
CountNanLong is used instead of
CountNan if the value is greater than 2,147,483,647.public Statistics.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Statistics.Builder,Statistics>public static Statistics.Builder builder()
public static Class<? extends Statistics.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.