Class PipelineAggregator.PipelineTree
java.lang.Object
org.elasticsearch.search.aggregations.pipeline.PipelineAggregator.PipelineTree
- Enclosing class:
- PipelineAggregator
Tree of
PipelineAggregators to modify a tree of aggregations
after their final reduction.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPipelineTree(Map<String,PipelineAggregator.PipelineTree> subTrees, List<PipelineAggregator> aggregators) -
Method Summary
Modifier and TypeMethodDescriptionThePipelineAggregators for the aggregation at this position in the tree.booleanReturntrueif this node in the tree has any subtrees.Get the sub-tree at for the named sub-aggregation orEMPTYif there are no pipeline aggragations for that sub-aggregator.toString()
-
Field Details
-
EMPTY
An empty tree ofPipelineAggregators.
-
-
Constructor Details
-
PipelineTree
public PipelineTree(Map<String,PipelineAggregator.PipelineTree> subTrees, List<PipelineAggregator> aggregators)
-
-
Method Details
-
aggregators
ThePipelineAggregators for the aggregation at this position in the tree. -
subTree
Get the sub-tree at for the named sub-aggregation orEMPTYif there are no pipeline aggragations for that sub-aggregator. -
hasSubTrees
public boolean hasSubTrees()Returntrueif this node in the tree has any subtrees. -
toString
-