Interface FieldStats.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FieldStats.Builder,FieldStats>,SdkBuilder<FieldStats.Builder,FieldStats>,SdkPojo
- Enclosing class:
- FieldStats
public static interface FieldStats.Builder extends SdkPojo, CopyableBuilder<FieldStats.Builder,FieldStats>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FieldStats.Buildercount(Long count)The number of documents that contain a value in the specified field in the result set.FieldStats.Buildermax(String max)The maximum value found in the specified field in the result set.FieldStats.Buildermean(String mean)The average of the values found in the specified field in the result set.FieldStats.Buildermin(String min)The minimum value found in the specified field in the result set.FieldStats.Buildermissing(Long missing)The number of documents that do not contain a value in the specified field in the result set.FieldStats.Builderstddev(Double stddev)The standard deviation of the values in the specified field in the result set.FieldStats.Buildersum(Double sum)The sum of the field values across the documents in the result set.FieldStats.BuildersumOfSquares(Double sumOfSquares)The sum of all field values in the result set squared.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
min
FieldStats.Builder min(String min)
The minimum value found in the specified field in the result set.
If the field is numeric (
int,int-array,double, ordouble-array),minis the string representation of a double-precision 64-bit floating point value. If the field isdateordate-array,minis the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.- Parameters:
min- The minimum value found in the specified field in the result set.If the field is numeric (
int,int-array,double, ordouble-array),minis the string representation of a double-precision 64-bit floating point value. If the field isdateordate-array,minis the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
max
FieldStats.Builder max(String max)
The maximum value found in the specified field in the result set.
If the field is numeric (
int,int-array,double, ordouble-array),maxis the string representation of a double-precision 64-bit floating point value. If the field isdateordate-array,maxis the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.- Parameters:
max- The maximum value found in the specified field in the result set.If the field is numeric (
int,int-array,double, ordouble-array),maxis the string representation of a double-precision 64-bit floating point value. If the field isdateordate-array,maxis the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
count
FieldStats.Builder count(Long count)
The number of documents that contain a value in the specified field in the result set.
- Parameters:
count- The number of documents that contain a value in the specified field in the result set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
missing
FieldStats.Builder missing(Long missing)
The number of documents that do not contain a value in the specified field in the result set.
- Parameters:
missing- The number of documents that do not contain a value in the specified field in the result set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sum
FieldStats.Builder sum(Double sum)
The sum of the field values across the documents in the result set.
nullfor date fields.- Parameters:
sum- The sum of the field values across the documents in the result set.nullfor date fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sumOfSquares
FieldStats.Builder sumOfSquares(Double sumOfSquares)
The sum of all field values in the result set squared.
- Parameters:
sumOfSquares- The sum of all field values in the result set squared.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mean
FieldStats.Builder mean(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, ordouble-array),meanis the string representation of a double-precision 64-bit floating point value. If the field isdateordate-array,meanis the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.- Parameters:
mean- The average of the values found in the specified field in the result set.If the field is numeric (
int,int-array,double, ordouble-array),meanis the string representation of a double-precision 64-bit floating point value. If the field isdateordate-array,meanis the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stddev
FieldStats.Builder stddev(Double stddev)
The standard deviation of the values in the specified field in the result set.
- Parameters:
stddev- The standard deviation of the values in the specified field in the result set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-