FiltersBucket

data class FiltersBucket(val key: String, val docCount: Long, val aggs: Map<String, AggregationResult>) : KeyedBucket<String>

Constructors

Link copied to clipboard
fun FiltersBucket(key: String, 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: String