HistogramBucket

data class HistogramBucket(val key: Double, val docCount: Long, val aggs: Map<String, AggregationResult> = emptyMap(), val keyAsString: String? = null) : KeyedBucket<Double>

Constructors

Link copied to clipboard
fun HistogramBucket(key: Double, docCount: Long, aggs: Map<String, AggregationResult> = emptyMap(), keyAsString: String? = null)

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: Double
Link copied to clipboard
val keyAsString: String? = null