DateRangeBucket

data class DateRangeBucket<T>(key: String, docCount: Long, from: Double?, fromAsString: String?, fromAsDatetime: T?, to: Double?, toAsString: String?, toAsDatetime: T?, aggs: Map<String, AggregationResult>) : KeyedBucket<String>

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