Class PipelineAggregator.PipelineTree
org.elasticsearch.search.aggregations.pipeline.PipelineAggregator.PipelineTree
- Enclosing class:
- PipelineAggregator
public static class PipelineAggregator.PipelineTree
extends
Tree of
PipelineAggregator
s to modify a tree of aggregations
after their final reduction.-
Field Summary
-
Constructor Summary
ConstructorDescription<,PipelineAggregator.PipelineTree> subTrees, <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.name)
Get the sub-tree at for the named sub-aggregation orEMPTY
if there are no pipeline aggragations for that sub-aggregator.toString()
Methods inherited from class java.lang.
, , , , , , , , ,
-
Field Details
-
EMPTY
An empty tree ofPipelineAggregator
s.
-
-
Constructor Details
-
PipelineTree
public PipelineTree(<,PipelineAggregator.PipelineTree> subTrees, <PipelineAggregator> aggregators)
-
-
Method Details
-
aggregators
ThePipelineAggregator
s for the aggregation at this position in the tree. -
subTree
public name)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
public toString()- Overrides:
in class
-