Class BucketAggregationScript

  • public abstract class BucketAggregationScript
    extends java.lang.Object
    A script used in bucket aggregations that returns a double value.
    • 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
    • Constructor Detail

      • BucketAggregationScript

        public BucketAggregationScript​(java.util.Map<java.lang.String,​java.lang.Object> params)
    • Method Detail

      • getParams

        public java.util.Map<java.lang.String,​java.lang.Object> getParams()
        Return the parameters for this script.
      • execute

        public abstract java.lang.Number execute()