Class Statistics
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Statistics.Builder,Statistics>
Provides statistics for each data field imported into to an Amazon Forecast dataset with the CreateDatasetImportJob operation.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Doubleavg()For a numeric field, the average value in the field.static Statistics.Builderbuilder()final Integercount()The number of values in the field.final IntegerThe number of distinct values in the field.final LongThe number of distinct values in the field.final LongThe number of values in the field.final IntegercountNan()The number of NAN (not a number) values in the field.final LongThe number of NAN (not a number) values in the field.final IntegerThe number of null values in the field.final LongThe number of null values in the field.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringmax()For a numeric field, the maximum value in the field.final Stringmin()For a numeric field, the minimum value in the field.static Class<? extends Statistics.Builder> final Doublestddev()For a numeric field, the standard deviation.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
count
The number of values in the field. If the response value is -1, refer to
CountLong.- Returns:
- The number of values in the field. If the response value is -1, refer to
CountLong.
-
countDistinct
The number of distinct values in the field. If the response value is -1, refer to
CountDistinctLong.- Returns:
- The number of distinct values in the field. If the response value is -1, refer to
CountDistinctLong.
-
countNull
The number of null values in the field. If the response value is -1, refer to
CountNullLong.- Returns:
- The number of null values in the field. If the response value is -1, refer to
CountNullLong.
-
countNan
The number of NAN (not a number) values in the field. If the response value is -1, refer to
CountNanLong.- Returns:
- The number of NAN (not a number) values in the field. If the response value is -1, refer to
CountNanLong.
-
min
For a numeric field, the minimum value in the field.
- Returns:
- For a numeric field, the minimum value in the field.
-
max
For a numeric field, the maximum value in the field.
- Returns:
- For a numeric field, the maximum value in the field.
-
avg
For a numeric field, the average value in the field.
- Returns:
- For a numeric field, the average value in the field.
-
stddev
For a numeric field, the standard deviation.
- Returns:
- For a numeric field, the standard deviation.
-
countLong
The number of values in the field.
CountLongis used instead ofCountif the value is greater than 2,147,483,647.- Returns:
- The number of values in the field.
CountLongis used instead ofCountif the value is greater than 2,147,483,647.
-
countDistinctLong
The number of distinct values in the field.
CountDistinctLongis used instead ofCountDistinctif the value is greater than 2,147,483,647.- Returns:
- The number of distinct values in the field.
CountDistinctLongis used instead ofCountDistinctif the value is greater than 2,147,483,647.
-
countNullLong
The number of null values in the field.
CountNullLongis used instead ofCountNullif the value is greater than 2,147,483,647.- Returns:
- The number of null values in the field.
CountNullLongis used instead ofCountNullif the value is greater than 2,147,483,647.
-
countNanLong
The number of NAN (not a number) values in the field.
CountNanLongis used instead ofCountNanif the value is greater than 2,147,483,647.- Returns:
- The number of NAN (not a number) values in the field.
CountNanLongis used instead ofCountNanif the value is greater than 2,147,483,647.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Statistics.Builder,Statistics> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-