Class MaxAggregationResult

    • Field Detail

      • context

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

      • getValue

        public 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 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 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.