HistogramAgg

data class HistogramAgg<T : Number>(val value: AggValue<T>, val interval: T, val offset: T? = null, val minDocCount: Long? = null, val missing: T? = null, val format: String? = null, val order: List<BucketsOrder> = emptyList(), val extendedBounds: HistogramBounds<T>? = null, val hardBounds: HistogramBounds<T>? = null, val params: Params = Params(), val aggs: Map<String, Aggregation<*>> = emptyMap()) : BaseHistogramAgg<T, HistogramAggResult, HistogramBucket>

Constructors

Link copied to clipboard
fun <T : Number> HistogramAgg(field: FieldOperations<T>, interval: T, offset: T? = null, minDocCount: Long? = null, missing: T? = null, format: String? = null, order: List<BucketsOrder> = emptyList(), extendedBounds: HistogramBounds<T>? = null, hardBounds: HistogramBounds<T>? = null, params: Params = Params(), aggs: Map<String, Aggregation<*>> = emptyMap())
Link copied to clipboard
fun <T : Number> HistogramAgg(value: AggValue<T>, interval: T, offset: T? = null, minDocCount: Long? = null, missing: T? = null, format: String? = null, order: List<BucketsOrder> = emptyList(), extendedBounds: HistogramBounds<T>? = null, hardBounds: HistogramBounds<T>? = 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(): HistogramAgg<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 extendedBounds: HistogramBounds<T>? = null
Link copied to clipboard
open override val format: String? = null
Link copied to clipboard
open override val hardBounds: HistogramBounds<T>? = null
Link copied to clipboard
val interval: T
Link copied to clipboard
open override val minDocCount: Long? = null
Link copied to clipboard
open override val missing: T? = null
Link copied to clipboard
open override val name: String
Link copied to clipboard
val offset: T? = null
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 value: AggValue<T>