Terms

data class Terms(val field: QueryField? = null, val alias: String, val missingKey: String? = null, val expression: AggregationExpression? = null) : AggregationGroup

Groups by the value of field, or of expression when the group names one instead.

Constructors

Link copied to clipboard
constructor(field: QueryField? = null, alias: String, missingKey: String? = null, expression: AggregationExpression? = null)

Properties

Link copied to clipboard
open override val alias: String
Link copied to clipboard
Link copied to clipboard
open override val field: QueryField?

The grouped field; null only for a TERMS or HISTOGRAM group whose input is an expression.

Link copied to clipboard