elasticmagic-kt
0.0.31
elasticmagic
/
dev.evo.elasticmagic.aggs
/
ScriptedMetricAgg
/
Companion
/
invoke
invoke
operator
fun
<
T
>
invoke
(
valueType
:
FieldType
<
*
,
T
>
,
initScript
:
Script
?
=
null
,
mapScript
:
Script
,
combineScript
:
Script
?
=
null
,
reduceScript
:
Script
?
=
null
,
params
:
Params
=
Params()
)
:
ScriptedMetricAgg
<
T
>