ScriptedMetricAgg

fun <T> ScriptedMetricAgg(resultProcessor: (Deserializer.ObjectCtx) -> T, initScript: Script? = null, mapScript: Script, combineScript: Script? = null, reduceScript: Script? = null, params: Params = Params())