@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Statistics extends Object implements Serializable, Cloneable, StructuredPojo
Provides statistics for each data field imported into to an Amazon Forecast dataset with the CreateDatasetImportJob operation.
| Constructor and Description |
|---|
Statistics() |
| Modifier and Type | Method and Description |
|---|---|
Statistics |
clone() |
boolean |
equals(Object obj) |
Double |
getAvg()
For a numeric field, the average value in the field.
|
Integer |
getCount()
The number of values in the field.
|
Integer |
getCountDistinct()
The number of distinct values in the field.
|
Long |
getCountDistinctLong()
The number of distinct values in the field.
|
Long |
getCountLong()
The number of values in the field.
|
Integer |
getCountNan()
The number of NAN (not a number) values in the field.
|
Long |
getCountNanLong()
The number of NAN (not a number) values in the field.
|
Integer |
getCountNull()
The number of null values in the field.
|
Long |
getCountNullLong()
The number of null values in the field.
|
String |
getMax()
For a numeric field, the maximum value in the field.
|
String |
getMin()
For a numeric field, the minimum value in the field.
|
Double |
getStddev()
For a numeric field, the standard deviation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAvg(Double avg)
For a numeric field, the average value in the field.
|
void |
setCount(Integer count)
The number of values in the field.
|
void |
setCountDistinct(Integer countDistinct)
The number of distinct values in the field.
|
void |
setCountDistinctLong(Long countDistinctLong)
The number of distinct values in the field.
|
void |
setCountLong(Long countLong)
The number of values in the field.
|
void |
setCountNan(Integer countNan)
The number of NAN (not a number) values in the field.
|
void |
setCountNanLong(Long countNanLong)
The number of NAN (not a number) values in the field.
|
void |
setCountNull(Integer countNull)
The number of null values in the field.
|
void |
setCountNullLong(Long countNullLong)
The number of null values in the field.
|
void |
setMax(String max)
For a numeric field, the maximum value in the field.
|
void |
setMin(String min)
For a numeric field, the minimum value in the field.
|
void |
setStddev(Double stddev)
For a numeric field, the standard deviation.
|
String |
toString()
Returns a string representation of this object.
|
Statistics |
withAvg(Double avg)
For a numeric field, the average value in the field.
|
Statistics |
withCount(Integer count)
The number of values in the field.
|
Statistics |
withCountDistinct(Integer countDistinct)
The number of distinct values in the field.
|
Statistics |
withCountDistinctLong(Long countDistinctLong)
The number of distinct values in the field.
|
Statistics |
withCountLong(Long countLong)
The number of values in the field.
|
Statistics |
withCountNan(Integer countNan)
The number of NAN (not a number) values in the field.
|
Statistics |
withCountNanLong(Long countNanLong)
The number of NAN (not a number) values in the field.
|
Statistics |
withCountNull(Integer countNull)
The number of null values in the field.
|
Statistics |
withCountNullLong(Long countNullLong)
The number of null values in the field.
|
Statistics |
withMax(String max)
For a numeric field, the maximum value in the field.
|
Statistics |
withMin(String min)
For a numeric field, the minimum value in the field.
|
Statistics |
withStddev(Double stddev)
For a numeric field, the standard deviation.
|
public void setCount(Integer count)
The number of values in the field. If the response value is -1, refer to CountLong.
count - The number of values in the field. If the response value is -1, refer to CountLong.public Integer getCount()
The number of values in the field. If the response value is -1, refer to CountLong.
CountLong.public Statistics withCount(Integer count)
The number of values in the field. If the response value is -1, refer to CountLong.
count - The number of values in the field. If the response value is -1, refer to CountLong.public void setCountDistinct(Integer countDistinct)
The number of distinct values in the field. If the response value is -1, refer to CountDistinctLong.
countDistinct - The number of distinct values in the field. If the response value is -1, refer to
CountDistinctLong.public Integer getCountDistinct()
The number of distinct values in the field. If the response value is -1, refer to CountDistinctLong.
CountDistinctLong.public Statistics withCountDistinct(Integer countDistinct)
The number of distinct values in the field. If the response value is -1, refer to CountDistinctLong.
countDistinct - The number of distinct values in the field. If the response value is -1, refer to
CountDistinctLong.public void setCountNull(Integer countNull)
The number of null values in the field. If the response value is -1, refer to CountNullLong.
countNull - The number of null values in the field. If the response value is -1, refer to CountNullLong.public Integer getCountNull()
The number of null values in the field. If the response value is -1, refer to CountNullLong.
CountNullLong.public Statistics withCountNull(Integer countNull)
The number of null values in the field. If the response value is -1, refer to CountNullLong.
countNull - The number of null values in the field. If the response value is -1, refer to CountNullLong.public void setCountNan(Integer countNan)
The number of NAN (not a number) values in the field. If the response value is -1, refer to
CountNanLong.
countNan - The number of NAN (not a number) values in the field. If the response value is -1, refer to
CountNanLong.public Integer getCountNan()
The number of NAN (not a number) values in the field. If the response value is -1, refer to
CountNanLong.
CountNanLong.public Statistics withCountNan(Integer countNan)
The number of NAN (not a number) values in the field. If the response value is -1, refer to
CountNanLong.
countNan - The number of NAN (not a number) values in the field. If the response value is -1, refer to
CountNanLong.public void setMin(String min)
For a numeric field, the minimum value in the field.
min - For a numeric field, the minimum value in the field.public String getMin()
For a numeric field, the minimum value in the field.
public Statistics withMin(String min)
For a numeric field, the minimum value in the field.
min - For a numeric field, the minimum value in the field.public void setMax(String max)
For a numeric field, the maximum value in the field.
max - For a numeric field, the maximum value in the field.public String getMax()
For a numeric field, the maximum value in the field.
public Statistics withMax(String max)
For a numeric field, the maximum value in the field.
max - For a numeric field, the maximum value in the field.public void setAvg(Double avg)
For a numeric field, the average value in the field.
avg - For a numeric field, the average value in the field.public Double getAvg()
For a numeric field, the average value in the field.
public Statistics withAvg(Double avg)
For a numeric field, the average value in the field.
avg - For a numeric field, the average value in the field.public void setStddev(Double stddev)
For a numeric field, the standard deviation.
stddev - For a numeric field, the standard deviation.public Double getStddev()
For a numeric field, the standard deviation.
public Statistics withStddev(Double stddev)
For a numeric field, the standard deviation.
stddev - For a numeric field, the standard deviation.public void setCountLong(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 - The number of values in the field. CountLong is used instead of Count if the
value is greater than 2,147,483,647.public Long getCountLong()
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 Statistics withCountLong(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 - The number of values in the field. CountLong is used instead of Count if the
value is greater than 2,147,483,647.public void setCountDistinctLong(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 - The number of distinct values in the field. CountDistinctLong is used instead of
CountDistinct if the value is greater than 2,147,483,647.public Long getCountDistinctLong()
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 Statistics withCountDistinctLong(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 - The number of distinct values in the field. CountDistinctLong is used instead of
CountDistinct if the value is greater than 2,147,483,647.public void setCountNullLong(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 - The number of null values in the field. CountNullLong is used instead of
CountNull if the value is greater than 2,147,483,647.public Long getCountNullLong()
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 Statistics withCountNullLong(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 - The number of null values in the field. CountNullLong is used instead of
CountNull if the value is greater than 2,147,483,647.public void setCountNanLong(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 - 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.public Long getCountNanLong()
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 withCountNanLong(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 - 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.public String toString()
toString in class ObjectObject.toString()public Statistics clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.