@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.
|
Integer |
getCountNan()
The number of NAN (not a number) values in the field.
|
Integer |
getCountNull()
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 |
setCountNan(Integer countNan)
The number of NAN (not a number) values in the field.
|
void |
setCountNull(Integer countNull)
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 |
withCountNan(Integer countNan)
The number of NAN (not a number) values in the field.
|
Statistics |
withCountNull(Integer countNull)
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.
count
- The number of values in the field.public Integer getCount()
The number of values in the field.
public Statistics withCount(Integer count)
The number of values in the field.
count
- The number of values in the field.public void setCountDistinct(Integer countDistinct)
The number of distinct values in the field.
countDistinct
- The number of distinct values in the field.public Integer getCountDistinct()
The number of distinct values in the field.
public Statistics withCountDistinct(Integer countDistinct)
The number of distinct values in the field.
countDistinct
- The number of distinct values in the field.public void setCountNull(Integer countNull)
The number of null values in the field.
countNull
- The number of null values in the field.public Integer getCountNull()
The number of null values in the field.
public Statistics withCountNull(Integer countNull)
The number of null values in the field.
countNull
- The number of null values in the field.public void setCountNan(Integer countNan)
The number of NAN (not a number) values in the field.
countNan
- The number of NAN (not a number) values in the field.public Integer getCountNan()
The number of NAN (not a number) values in the field.
public Statistics withCountNan(Integer countNan)
The number of NAN (not a number) values in the field.
countNan
- The number of NAN (not a number) values in the field.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 String toString()
toString
in class Object
Object.toString()
public Statistics clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.