@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.
|
Integer |
countNan()
The number of NAN (not a number) values in the field.
|
Integer |
countNull()
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 Integer count()
The number of values in the field.
public Integer countDistinct()
The number of distinct values in the field.
public Integer countNull()
The number of null values in the field.
public Integer countNan()
The number of NAN (not a number) values in the field.
public String min()
For a numeric field, the minimum value in the field.
public String max()
For a numeric field, the maximum value in the field.
public Double avg()
For a numeric field, the average value in the field.
public Double stddev()
For a numeric field, the standard deviation.
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.