RangeAgg

data class RangeAgg<T : Number>(val value: AggValue<T>, val ranges: List<AggRange<T>>, val format: String? = null, val missing: T? = null, val params: Params = Params(), val aggs: Map<String, Aggregation<*>> = emptyMap()) : BaseRangeAgg<T, RangeAggResult, RangeBucket>

Constructors

Link copied to clipboard
fun <T : Number> RangeAgg(field: FieldOperations<T>, ranges: List<AggRange<T>>, format: String? = null, missing: T? = null, params: Params = Params(), aggs: Map<String, Aggregation<*>> = emptyMap())
Link copied to clipboard
fun <T : Number> RangeAgg(value: AggValue<T>, ranges: List<AggRange<T>>, format: String? = null, missing: T? = null, params: Params = Params(), aggs: Map<String, Aggregation<*>> = emptyMap())

Types

Link copied to clipboard
object Companion

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(): RangeAgg<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 format: String? = 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 params: Params
Link copied to clipboard
open override val ranges: List<AggRange<T>>
Link copied to clipboard
open override val value: AggValue<T>