Class MaxAggregationResult

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected lumis.portal.bigdata.elasticsearch.IFilterParser.ParseContext context  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object convertToFinalValue​(double doubleValue)
      Converts the given double value to the correct data type (ES always returns double).
      java.lang.String getId()
      Returns the identifier of the aggregation that produced this result.
      java.lang.Object getValue()
      Returns the value of this aggregation.
      • Methods inherited from class java.lang.Object

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

      • context

        protected final lumis.portal.bigdata.elasticsearch.IFilterParser.ParseContext context
    • Method Detail

      • getValue

        public java.lang.Object getValue()
        Description copied from interface: IValueAggregationResult
        Returns the value of this aggregation. The returned object type depends on how aggregation is performed. For example, a MinAggregation performed in an integer field will produce an integer return value and an AvgAggregation will always produce a double value.
        Specified by:
        getValue in interface IValueAggregationResult
        Returns:
        the value of this aggregation.
      • convertToFinalValue

        protected java.lang.Object convertToFinalValue​(double doubleValue)
        Converts the given double value to the correct data type (ES always returns double).
        Parameters:
        doubleValue - the double value.
        Returns:
        the correct value.
        Since:
        11.0.0
      • getId

        public java.lang.String getId()
        Description copied from interface: IAggregationResult
        Returns the identifier of the aggregation that produced this result.
        Specified by:
        getId in interface IAggregationResult
        Returns:
        the identifier of the aggregation that produced this result.