elasticmagic-kt
0.0.31
elasticmagic
/
dev.evo.elasticmagic.aggs
/
SingleBucketAggResult
Single
Bucket
Agg
Result
data
class
SingleBucketAggResult
(
val
docCount
:
Long
,
val
aggs
:
Map
<
String
,
AggregationResult
>
)
:
BaseBucket
,
AggregationResult
Constructors
Functions
Properties
Constructors
Single
Bucket
Agg
Result
Link copied to clipboard
fun
SingleBucketAggResult
(
docCount
:
Long
,
aggs
:
Map
<
String
,
AggregationResult
>
)
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
?
Properties
aggs
Link copied to clipboard
open
override
val
aggs
:
Map
<
String
,
AggregationResult
>
doc
Count
Link copied to clipboard
open
override
val
docCount
:
Long