TermBucket

data class TermBucket<T>(key: T, docCount: Long, docCountErrorUpperBound: Long?, aggs: Map<String, AggregationResult>) : KeyedBucket<T>

Functions

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

Properties

aggs
Link copied to clipboard
open override val aggs: Map<String, AggregationResult>
docCount
Link copied to clipboard
open override val docCount: Long
docCountErrorUpperBound
Link copied to clipboard
val docCountErrorUpperBound: Long? = null
key
Link copied to clipboard
open override val key: T