Package org.elasticsearch.script
Class ScriptedMetricAggContexts.ReduceScript
java.lang.Object
org.elasticsearch.script.ScriptedMetricAggContexts.ReduceScript
- Enclosing class:
- ScriptedMetricAggContexts
public abstract static class ScriptedMetricAggContexts.ReduceScript
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ScriptedMetricAggContexts.ReduceScript.Factory
-
Field Summary
Fields Modifier and Type Field Description static ScriptContext<ScriptedMetricAggContexts.ReduceScript.Factory>
CONTEXT
static java.lang.String[]
PARAMETERS
-
Constructor Summary
Constructors Constructor Description ReduceScript(java.util.Map<java.lang.String,java.lang.Object> params, java.util.List<java.lang.Object> states)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
PARAMETERS
public static java.lang.String[] PARAMETERS -
CONTEXT
-
-
Constructor Details
-
ReduceScript
public ReduceScript(java.util.Map<java.lang.String,java.lang.Object> params, java.util.List<java.lang.Object> states)
-
-
Method Details
-
getParams
public java.util.Map<java.lang.String,java.lang.Object> getParams() -
getStates
public java.util.List<java.lang.Object> getStates() -
execute
public abstract java.lang.Object execute()
-