toggle menu
elasticmagic-kt
0.3.4
common
switch theme
search in API
elasticmagic
/
dev.evo.elasticmagic.aggs
/
HistogramBucket
Histogram
Bucket
data
class
HistogramBucket
(
val
key
:
Double
,
val
docCount
:
Long
,
val
aggs
:
Map
<
String
,
AggregationResult
>
=
emptyMap()
,
val
keyAsString
:
String
?
=
null
)
:
KeyedBucket
<
Double
>
Members
Constructors
Histogram
Bucket
Link copied to clipboard
constructor
(
key
:
Double
,
docCount
:
Long
,
aggs
:
Map
<
String
,
AggregationResult
>
=
emptyMap()
,
keyAsString
:
String
?
=
null
)
Properties
aggs
Link copied to clipboard
open
override
val
aggs
:
Map
<
String
,
AggregationResult
>
doc
Count
Link copied to clipboard
open
override
val
docCount
:
Long
key
Link copied to clipboard
open
override
val
key
:
Double
key
As
String
Link copied to clipboard
val
keyAsString
:
String
?
=
null
Functions
agg
Link copied to clipboard
inline
fun
<
A
:
AggregationResult
>
agg
(
name
:
String
)
:
A
agg
If
Exists
Link copied to clipboard
inline
fun
<
A
:
AggregationResult
>
aggIfExists
(
name
:
String
)
:
A
?