Class ScriptedMetricAggContexts.InitScript

java.lang.Object
org.elasticsearch.script.ScriptedMetricAggContexts.InitScript
Enclosing class:
ScriptedMetricAggContexts

public abstract static class ScriptedMetricAggContexts.InitScript
extends java.lang.Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static interface  ScriptedMetricAggContexts.InitScript.Factory  
  • Field Summary

    Fields
    Modifier and Type Field Description
    static ScriptContext<ScriptedMetricAggContexts.InitScript.Factory> CONTEXT  
    static java.lang.String[] PARAMETERS  
  • Constructor Summary

    Constructors
    Constructor Description
    InitScript​(java.util.Map<java.lang.String,​java.lang.Object> params, java.util.Map<java.lang.String,​java.lang.Object> state)  
  • Method Summary

    Modifier and Type Method Description
    abstract void execute()  
    java.util.Map<java.lang.String,​java.lang.Object> getParams()  
    java.lang.Object getState()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • InitScript

      public InitScript​(java.util.Map<java.lang.String,​java.lang.Object> params, java.util.Map<java.lang.String,​java.lang.Object> state)
  • Method Details

    • getParams

      public java.util.Map<java.lang.String,​java.lang.Object> getParams()
    • getState

      public java.lang.Object getState()
    • execute

      public abstract void execute()