public abstract class AbstractSubAggregationAwareAggregationResult extends Object implements ISubAggregationAwareAggregationResult
Modifier and Type | Field and Description |
---|---|
protected AbstractSubAggregationAwareAggregation |
aggregation |
protected lumis.portal.bigdata.elasticsearch.IFilterParser.ParseContext |
context |
protected Long |
docCount |
protected org.elasticsearch.search.aggregations.Aggregations |
result |
protected Map<String,IAggregationResult> |
subAggregations |
Constructor and Description |
---|
AbstractSubAggregationAwareAggregationResult(AbstractSubAggregationAwareAggregation aggregation,
org.elasticsearch.search.aggregations.Aggregations result,
lumis.portal.bigdata.elasticsearch.IFilterParser.ParseContext context)
Create a new instance;
|
Modifier and Type | Method and Description |
---|---|
long |
getDocCount()
Returns the document count at this aggregation.
|
String |
getId()
Returns the identifier of the aggregation that produced this result.
|
Map<String,IAggregationResult> |
getSubAggregations()
Returns the sub aggregations of this aggregation.
|
protected Long docCount
protected Map<String,IAggregationResult> subAggregations
protected final AbstractSubAggregationAwareAggregation aggregation
protected final org.elasticsearch.search.aggregations.Aggregations result
protected final lumis.portal.bigdata.elasticsearch.IFilterParser.ParseContext context
public AbstractSubAggregationAwareAggregationResult(AbstractSubAggregationAwareAggregation aggregation, org.elasticsearch.search.aggregations.Aggregations result, lumis.portal.bigdata.elasticsearch.IFilterParser.ParseContext context)
aggregation
- the aggregation.result
- the result.context
- the parse context.public Map<String,IAggregationResult> getSubAggregations()
ISubAggregationAwareAggregationResult
getSubAggregations
in interface ISubAggregationAwareAggregationResult
public long getDocCount()
ISubAggregationAwareAggregationResult
getDocCount
in interface ISubAggregationAwareAggregationResult
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.