elasticmagic-kt
0.0.30
elasticmagic
/
dev.evo.elasticmagic.aggs
/
SumAgg
Sum
Agg
data
class
SumAgg
<
T
:
Number
>
(
val
value
:
AggValue
<
T
>
,
val
missing
:
T
?
=
null
,
val
format
:
String
?
=
null
)
:
NumericValueAgg
<
T
,
SumAggResult
>
Constructors
Functions
Properties
Constructors
Sum
Agg
Link copied to clipboard
fun
<
T
:
Number
>
SumAgg
(
field
:
FieldOperations
<
T
>
,
missing
:
T
?
=
null
,
format
:
String
?
=
null
)
Sum
Agg
Link copied to clipboard
fun
<
T
:
Number
>
SumAgg
(
value
:
AggValue
<
T
>
,
missing
:
T
?
=
null
,
format
:
String
?
=
null
)
Functions
accept
Link copied to clipboard
open
override
fun
accept
(
ctx
:
Serializer.ObjectCtx
,
compiler
:
BaseSearchQueryCompiler
)
children
Link copied to clipboard
open
fun
children
(
)
:
Iterator
<
Expression
<
*
>
>
?
clone
Link copied to clipboard
open
override
fun
clone
(
)
:
SumAgg
<
T
>
process
Result
Link copied to clipboard
open
override
fun
processResult
(
obj
:
Deserializer.ObjectCtx
)
:
SumAggResult
Processes corresponding aggregation response.
reduce
Link copied to clipboard
open
fun
reduce
(
)
:
Expression
<
Serializer.ObjectCtx
>
?
rewrite
Link copied to clipboard
open
fun
rewrite
(
newNode
:
QueryExpressionNode
<
*
>
)
:
Expression
<
Serializer.ObjectCtx
>
visit
Link copied to clipboard
open
override
fun
visit
(
ctx
:
Serializer.ObjectCtx
,
compiler
:
BaseSearchQueryCompiler
)
Properties
format
Link copied to clipboard
val
format
:
String
?
=
null
missing
Link copied to clipboard
open
override
val
missing
:
T
?
=
null
name
Link copied to clipboard
open
override
val
name
:
String
value
Link copied to clipboard
open
override
val
value
:
AggValue
<
T
>