FieldStats

The statistics for a field calculated in the request.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val count: Long

The number of documents that contain a value in the specified field in the result set.

Link copied to clipboard
val max: String?

The maximum value found in the specified field in the result set.

Link copied to clipboard
val mean: String?

The average of the values found in the specified field in the result set.

Link copied to clipboard
val min: String?

The minimum value found in the specified field in the result set.

Link copied to clipboard

The number of documents that do not contain a value in the specified field in the result set.

Link copied to clipboard

The standard deviation of the values in the specified field in the result set.

Link copied to clipboard
val sum: Double

The sum of the field values across the documents in the result set. null for date fields.

Link copied to clipboard

The sum of all field values in the result set squared.

Functions

Link copied to clipboard
inline fun copy(block: FieldStats.Builder.() -> Unit = {}): FieldStats
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String