Package org.elasticsearch.script
Class MockScriptEngine.MockMetricAggMapScript
java.lang.Object
org.elasticsearch.script.MockScriptEngine.MockMetricAggMapScript
- All Implemented Interfaces:
org.elasticsearch.script.ScriptedMetricAggContexts.MapScript.LeafFactory
- Enclosing class:
- MockScriptEngine
public static class MockScriptEngine.MockMetricAggMapScript
extends java.lang.Object
implements org.elasticsearch.script.ScriptedMetricAggContexts.MapScript.LeafFactory
-
Method Summary
Modifier and Type Method Description org.elasticsearch.script.ScriptedMetricAggContexts.MapScript
newInstance(org.apache.lucene.index.LeafReaderContext context)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
newInstance
public org.elasticsearch.script.ScriptedMetricAggContexts.MapScript newInstance(org.apache.lucene.index.LeafReaderContext context)- Specified by:
newInstance
in interfaceorg.elasticsearch.script.ScriptedMetricAggContexts.MapScript.LeafFactory
-