Class BucketAggregationScript


public abstract class BucketAggregationScript
extends java.lang.Object
A script used in bucket aggregations that returns a double value.
  • Nested Class Summary

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

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

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

    Modifier and Type Method Description
    abstract java.lang.Number execute()  
    java.util.Map<java.lang.String,​java.lang.Object> getParams()
    Return the parameters for this script.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait