RangeBucket

data class RangeBucket(val key: String, val docCount: Long, val from: Double? = null, val fromAsString: String? = null, val to: Double? = null, val toAsString: String? = null, val aggs: Map<String, AggregationResult> = emptyMap()) : KeyedBucket<String>

Constructors

Link copied to clipboard
fun RangeBucket(key: String, docCount: Long, from: Double? = null, fromAsString: String? = null, to: Double? = null, toAsString: String? = null, aggs: Map<String, AggregationResult> = emptyMap())

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
val from: Double? = null
Link copied to clipboard
val fromAsString: String? = null
Link copied to clipboard
open override val key: String
Link copied to clipboard
val to: Double? = null
Link copied to clipboard
val toAsString: String? = null