public class AvgAggregationResult extends Object
AvgAggregation
result.Modifier and Type | Field and Description |
---|---|
protected lumis.portal.bigdata.elasticsearch.IFilterParser.ParseContext |
context |
Modifier and Type | Method and Description |
---|---|
protected Object |
convertToFinalValue(double doubleValue)
Converts the given double value to the correct data type (ES always returns double).
|
String |
getId()
Returns the identifier of the aggregation that produced this result.
|
Object |
getValue()
Returns the value of this aggregation.
|
protected final lumis.portal.bigdata.elasticsearch.IFilterParser.ParseContext context
public Object getValue()
IValueAggregationResult
MinAggregation
performed in an integer field will produce an integer return value and an
AvgAggregation
will always produce a double value.getValue
in interface IValueAggregationResult
protected Object convertToFinalValue(double doubleValue)
doubleValue
- the double value.public String getId()
IAggregationResult
getId
in interface IAggregationResult
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.