@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FieldStats extends Object implements Serializable, Cloneable, StructuredPojo
The statistics for a field calculated in the request.
Constructor and Description |
---|
FieldStats() |
Modifier and Type | Method and Description |
---|---|
FieldStats |
clone() |
boolean |
equals(Object obj) |
Long |
getCount()
The number of documents that contain a value in the specified field in the result set.
|
String |
getMax()
The maximum value found in the specified field in the result set.
|
String |
getMean()
The average of the values found in the specified field in the result set.
|
String |
getMin()
The minimum value found in the specified field in the result set.
|
Long |
getMissing()
The number of documents that do not contain a value in the specified field in the result set.
|
Double |
getStddev()
The standard deviation of the values in the specified field in the result set.
|
Double |
getSum()
The sum of the field values across the documents in the result set.
|
Double |
getSumOfSquares()
The sum of all field values in the result set squared.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCount(Long count)
The number of documents that contain a value in the specified field in the result set.
|
void |
setMax(String max)
The maximum value found in the specified field in the result set.
|
void |
setMean(String mean)
The average of the values found in the specified field in the result set.
|
void |
setMin(String min)
The minimum value found in the specified field in the result set.
|
void |
setMissing(Long missing)
The number of documents that do not contain a value in the specified field in the result set.
|
void |
setStddev(Double stddev)
The standard deviation of the values in the specified field in the result set.
|
void |
setSum(Double sum)
The sum of the field values across the documents in the result set.
|
void |
setSumOfSquares(Double sumOfSquares)
The sum of all field values in the result set squared.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
FieldStats |
withCount(Long count)
The number of documents that contain a value in the specified field in the result set.
|
FieldStats |
withMax(String max)
The maximum value found in the specified field in the result set.
|
FieldStats |
withMean(String mean)
The average of the values found in the specified field in the result set.
|
FieldStats |
withMin(String min)
The minimum value found in the specified field in the result set.
|
FieldStats |
withMissing(Long missing)
The number of documents that do not contain a value in the specified field in the result set.
|
FieldStats |
withStddev(Double stddev)
The standard deviation of the values in the specified field in the result set.
|
FieldStats |
withSum(Double sum)
The sum of the field values across the documents in the result set.
|
FieldStats |
withSumOfSquares(Double sumOfSquares)
The sum of all field values in the result set squared.
|
public void setMin(String min)
The minimum value found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), min
is the string representation of a double-precision 64-bit floating
point value. If the field is date
or date-array
, min
is the string
representation of a date with the format specified in IETF
RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
min
- The minimum value found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), min
is the string representation of a double-precision 64-bit
floating point value. If the field is date
or date-array
, min
is
the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
public String getMin()
The minimum value found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), min
is the string representation of a double-precision 64-bit floating
point value. If the field is date
or date-array
, min
is the string
representation of a date with the format specified in IETF
RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
If the field is numeric (int
, int-array
, double
, or
double-array
), min
is the string representation of a double-precision 64-bit
floating point value. If the field is date
or date-array
, min
is
the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
public FieldStats withMin(String min)
The minimum value found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), min
is the string representation of a double-precision 64-bit floating
point value. If the field is date
or date-array
, min
is the string
representation of a date with the format specified in IETF
RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
min
- The minimum value found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), min
is the string representation of a double-precision 64-bit
floating point value. If the field is date
or date-array
, min
is
the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
public void setMax(String max)
The maximum value found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), max
is the string representation of a double-precision 64-bit floating
point value. If the field is date
or date-array
, max
is the string
representation of a date with the format specified in IETF
RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
max
- The maximum value found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), max
is the string representation of a double-precision 64-bit
floating point value. If the field is date
or date-array
, max
is
the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
public String getMax()
The maximum value found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), max
is the string representation of a double-precision 64-bit floating
point value. If the field is date
or date-array
, max
is the string
representation of a date with the format specified in IETF
RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
If the field is numeric (int
, int-array
, double
, or
double-array
), max
is the string representation of a double-precision 64-bit
floating point value. If the field is date
or date-array
, max
is
the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
public FieldStats withMax(String max)
The maximum value found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), max
is the string representation of a double-precision 64-bit floating
point value. If the field is date
or date-array
, max
is the string
representation of a date with the format specified in IETF
RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
max
- The maximum value found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), max
is the string representation of a double-precision 64-bit
floating point value. If the field is date
or date-array
, max
is
the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
public void setCount(Long count)
The number of documents that contain a value in the specified field in the result set.
count
- The number of documents that contain a value in the specified field in the result set.public Long getCount()
The number of documents that contain a value in the specified field in the result set.
public FieldStats withCount(Long count)
The number of documents that contain a value in the specified field in the result set.
count
- The number of documents that contain a value in the specified field in the result set.public void setMissing(Long missing)
The number of documents that do not contain a value in the specified field in the result set.
missing
- The number of documents that do not contain a value in the specified field in the result set.public Long getMissing()
The number of documents that do not contain a value in the specified field in the result set.
public FieldStats withMissing(Long missing)
The number of documents that do not contain a value in the specified field in the result set.
missing
- The number of documents that do not contain a value in the specified field in the result set.public void setSum(Double sum)
The sum of the field values across the documents in the result set. null
for date fields.
sum
- The sum of the field values across the documents in the result set. null
for date fields.public Double getSum()
The sum of the field values across the documents in the result set. null
for date fields.
null
for date fields.public FieldStats withSum(Double sum)
The sum of the field values across the documents in the result set. null
for date fields.
sum
- The sum of the field values across the documents in the result set. null
for date fields.public void setSumOfSquares(Double sumOfSquares)
The sum of all field values in the result set squared.
sumOfSquares
- The sum of all field values in the result set squared.public Double getSumOfSquares()
The sum of all field values in the result set squared.
public FieldStats withSumOfSquares(Double sumOfSquares)
The sum of all field values in the result set squared.
sumOfSquares
- The sum of all field values in the result set squared.public void setMean(String mean)
The average of the values found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), mean
is the string representation of a double-precision 64-bit floating
point value. If the field is date
or date-array
, mean
is the string
representation of a date with the format specified in IETF
RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
mean
- The average of the values found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), mean
is the string representation of a double-precision 64-bit
floating point value. If the field is date
or date-array
, mean
is
the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
public String getMean()
The average of the values found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), mean
is the string representation of a double-precision 64-bit floating
point value. If the field is date
or date-array
, mean
is the string
representation of a date with the format specified in IETF
RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
If the field is numeric (int
, int-array
, double
, or
double-array
), mean
is the string representation of a double-precision 64-bit
floating point value. If the field is date
or date-array
, mean
is
the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
public FieldStats withMean(String mean)
The average of the values found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), mean
is the string representation of a double-precision 64-bit floating
point value. If the field is date
or date-array
, mean
is the string
representation of a date with the format specified in IETF
RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
mean
- The average of the values found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or
double-array
), mean
is the string representation of a double-precision 64-bit
floating point value. If the field is date
or date-array
, mean
is
the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
public void setStddev(Double stddev)
The standard deviation of the values in the specified field in the result set.
stddev
- The standard deviation of the values in the specified field in the result set.public Double getStddev()
The standard deviation of the values in the specified field in the result set.
public FieldStats withStddev(Double stddev)
The standard deviation of the values in the specified field in the result set.
stddev
- The standard deviation of the values in the specified field in the result set.public String toString()
toString
in class Object
Object.toString()
public FieldStats 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.