TermsAgg

data class TermsAgg<T>(val value: AggValue<T>, val size: Int? = null, val shardSize: Int? = null, val minDocCount: Int? = null, val shardMinDocCount: Int? = null, val include: BaseTermsAgg.Include? = null, val exclude: BaseTermsAgg.Exclude? = null, val missing: T? = null, val order: List<BucketsOrder> = emptyList(), val collectMode: BaseTermsAgg.CollectMode? = null, val executionHint: BaseTermsAgg.ExecutionHint? = null, val showTermDocCountError: Boolean? = null, val params: Params = Params(), val aggs: Map<String, Aggregation<*>> = emptyMap()) : BaseTermsAgg<T, TermsAggResult<T>>

Constructors

Link copied to clipboard
fun <T> TermsAgg(field: FieldOperations<T>, size: Int? = null, shardSize: Int? = null, minDocCount: Int? = null, shardMinDocCount: Int? = null, include: BaseTermsAgg.Include? = null, exclude: BaseTermsAgg.Exclude? = null, missing: T? = null, order: List<BucketsOrder> = emptyList(), collectMode: BaseTermsAgg.CollectMode? = null, executionHint: BaseTermsAgg.ExecutionHint? = null, showTermDocCountError: Boolean? = null, params: Params = Params(), aggs: Map<String, Aggregation<*>> = emptyMap())
Link copied to clipboard
fun <T> TermsAgg(value: AggValue<T>, size: Int? = null, shardSize: Int? = null, minDocCount: Int? = null, shardMinDocCount: Int? = null, include: BaseTermsAgg.Include? = null, exclude: BaseTermsAgg.Exclude? = null, missing: T? = null, order: List<BucketsOrder> = emptyList(), collectMode: BaseTermsAgg.CollectMode? = null, executionHint: BaseTermsAgg.ExecutionHint? = null, showTermDocCountError: Boolean? = null, params: Params = Params(), aggs: Map<String, Aggregation<*>> = emptyMap())

Functions

Link copied to clipboard
open override fun accept(ctx: Serializer.ObjectCtx, compiler: BaseSearchQueryCompiler)
Link copied to clipboard
open fun children(): Iterator<Expression<*>>?
Link copied to clipboard
open override fun clone(): TermsAgg<T>
Link copied to clipboard

Processes corresponding aggregation response.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun visit(ctx: Serializer.ObjectCtx, compiler: BaseSearchQueryCompiler)

Properties

Link copied to clipboard
open override val aggs: Map<String, Aggregation<*>>
Link copied to clipboard
open override val collectMode: BaseTermsAgg.CollectMode? = null
Link copied to clipboard
open override val exclude: BaseTermsAgg.Exclude? = null
Link copied to clipboard
open override val executionHint: BaseTermsAgg.ExecutionHint? = null
Link copied to clipboard
open override val include: BaseTermsAgg.Include? = null
Link copied to clipboard
open override val minDocCount: Int? = null
Link copied to clipboard
open override val missing: T? = null
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val order: List<BucketsOrder>
Link copied to clipboard
open override val params: Params
Link copied to clipboard
open override val shardMinDocCount: Int? = null
Link copied to clipboard
open override val shardSize: Int? = null
Link copied to clipboard
Link copied to clipboard
open override val size: Int? = null
Link copied to clipboard
open override val value: AggValue<T>