DateHistogramAgg

data class DateHistogramAgg<T>(val value: AggValue<T>, val interval: DateHistogramAgg.Interval, val offset: FixedInterval? = 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, DateHistogramAggResult<T>, DateHistogramBucket<T>>

Constructors

Link copied to clipboard
fun <T> DateHistogramAgg(field: FieldOperations<T>, interval: DateHistogramAgg.Interval, offset: FixedInterval? = 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> DateHistogramAgg(value: AggValue<T>, interval: DateHistogramAgg.Interval, offset: FixedInterval? = 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())

Types

Link copied to clipboard
sealed class Interval : ObjExpression

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(): DateHistogramAgg<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
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: FixedInterval? = 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>