public class Statistics
extends java.lang.Object
implements java.io.Serializable
A map of key-value pairs for all supported statistics. Currently, only count is supported.
Constructor and Description |
---|
Statistics() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Double |
getAverage()
The average of the aggregated field values.
|
java.lang.Integer |
getCount()
The count of things that match the query.
|
java.lang.Double |
getMaximum()
The maximum aggregated field value.
|
java.lang.Double |
getMinimum()
The minimum aggregated field value.
|
java.lang.Double |
getStdDeviation()
The standard deviation of the aggregated field values.
|
java.lang.Double |
getSum()
The sum of the aggregated field values.
|
java.lang.Double |
getSumOfSquares()
The sum of the squares of the aggregated field values.
|
java.lang.Double |
getVariance()
The variance of the aggregated field values.
|
int |
hashCode() |
void |
setAverage(java.lang.Double average)
The average of the aggregated field values.
|
void |
setCount(java.lang.Integer count)
The count of things that match the query.
|
void |
setMaximum(java.lang.Double maximum)
The maximum aggregated field value.
|
void |
setMinimum(java.lang.Double minimum)
The minimum aggregated field value.
|
void |
setStdDeviation(java.lang.Double stdDeviation)
The standard deviation of the aggregated field values.
|
void |
setSum(java.lang.Double sum)
The sum of the aggregated field values.
|
void |
setSumOfSquares(java.lang.Double sumOfSquares)
The sum of the squares of the aggregated field values.
|
void |
setVariance(java.lang.Double variance)
The variance of the aggregated field values.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Statistics |
withAverage(java.lang.Double average)
The average of the aggregated field values.
|
Statistics |
withCount(java.lang.Integer count)
The count of things that match the query.
|
Statistics |
withMaximum(java.lang.Double maximum)
The maximum aggregated field value.
|
Statistics |
withMinimum(java.lang.Double minimum)
The minimum aggregated field value.
|
Statistics |
withStdDeviation(java.lang.Double stdDeviation)
The standard deviation of the aggregated field values.
|
Statistics |
withSum(java.lang.Double sum)
The sum of the aggregated field values.
|
Statistics |
withSumOfSquares(java.lang.Double sumOfSquares)
The sum of the squares of the aggregated field values.
|
Statistics |
withVariance(java.lang.Double variance)
The variance of the aggregated field values.
|
public java.lang.Integer getCount()
The count of things that match the query.
The count of things that match the query.
public void setCount(java.lang.Integer count)
The count of things that match the query.
count
- The count of things that match the query.
public Statistics withCount(java.lang.Integer count)
The count of things that match the query.
Returns a reference to this object so that method calls can be chained together.
count
- The count of things that match the query.
public java.lang.Double getAverage()
The average of the aggregated field values.
The average of the aggregated field values.
public void setAverage(java.lang.Double average)
The average of the aggregated field values.
average
- The average of the aggregated field values.
public Statistics withAverage(java.lang.Double average)
The average of the aggregated field values.
Returns a reference to this object so that method calls can be chained together.
average
- The average of the aggregated field values.
public java.lang.Double getSum()
The sum of the aggregated field values.
The sum of the aggregated field values.
public void setSum(java.lang.Double sum)
The sum of the aggregated field values.
sum
- The sum of the aggregated field values.
public Statistics withSum(java.lang.Double sum)
The sum of the aggregated field values.
Returns a reference to this object so that method calls can be chained together.
sum
- The sum of the aggregated field values.
public java.lang.Double getMinimum()
The minimum aggregated field value.
The minimum aggregated field value.
public void setMinimum(java.lang.Double minimum)
The minimum aggregated field value.
minimum
- The minimum aggregated field value.
public Statistics withMinimum(java.lang.Double minimum)
The minimum aggregated field value.
Returns a reference to this object so that method calls can be chained together.
minimum
- The minimum aggregated field value.
public java.lang.Double getMaximum()
The maximum aggregated field value.
The maximum aggregated field value.
public void setMaximum(java.lang.Double maximum)
The maximum aggregated field value.
maximum
- The maximum aggregated field value.
public Statistics withMaximum(java.lang.Double maximum)
The maximum aggregated field value.
Returns a reference to this object so that method calls can be chained together.
maximum
- The maximum aggregated field value.
public java.lang.Double getSumOfSquares()
The sum of the squares of the aggregated field values.
The sum of the squares of the aggregated field values.
public void setSumOfSquares(java.lang.Double sumOfSquares)
The sum of the squares of the aggregated field values.
sumOfSquares
- The sum of the squares of the aggregated field values.
public Statistics withSumOfSquares(java.lang.Double sumOfSquares)
The sum of the squares of the aggregated field values.
Returns a reference to this object so that method calls can be chained together.
sumOfSquares
- The sum of the squares of the aggregated field values.
public java.lang.Double getVariance()
The variance of the aggregated field values.
The variance of the aggregated field values.
public void setVariance(java.lang.Double variance)
The variance of the aggregated field values.
variance
- The variance of the aggregated field values.
public Statistics withVariance(java.lang.Double variance)
The variance of the aggregated field values.
Returns a reference to this object so that method calls can be chained together.
variance
- The variance of the aggregated field values.
public java.lang.Double getStdDeviation()
The standard deviation of the aggregated field values.
The standard deviation of the aggregated field values.
public void setStdDeviation(java.lang.Double stdDeviation)
The standard deviation of the aggregated field values.
stdDeviation
- The standard deviation of the aggregated field values.
public Statistics withStdDeviation(java.lang.Double stdDeviation)
The standard deviation of the aggregated field values.
Returns a reference to this object so that method calls can be chained together.
stdDeviation
- The standard deviation of the aggregated field values.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.