DateHistogramBucket

data class DateHistogramBucket<T>(val key: Long, val keyAsString: String?, val keyAsDatetime: T, val docCount: Long, val aggs: Map<String, AggregationResult>) : KeyedBucket<Long>

Constructors

Link copied to clipboard
fun <T> DateHistogramBucket(key: Long, keyAsString: String?, keyAsDatetime: T, docCount: Long, aggs: Map<String, AggregationResult>)

Functions

Link copied to clipboard
inline fun <A : AggregationResult> agg(name: String): A
Link copied to clipboard
inline fun <A : AggregationResult> aggIfExists(name: String): A?

Properties

Link copied to clipboard
open override val aggs: Map<String, AggregationResult>
Link copied to clipboard
open override val docCount: Long
Link copied to clipboard
open override val key: Long
Link copied to clipboard
Link copied to clipboard