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