Class PipelineAggregator.PipelineTree

java.lang.Object
org.elasticsearch.search.aggregations.pipeline.PipelineAggregator.PipelineTree
Enclosing class:
PipelineAggregator

public static class PipelineAggregator.PipelineTree
extends java.lang.Object
Tree of PipelineAggregators to modify a tree of aggregations after their final reduction.
  • Field Details

  • Constructor Details

  • Method Details

    • aggregators

      public java.util.List<PipelineAggregator> aggregators()
      The PipelineAggregators for the aggregation at this position in the tree.
    • subTree

      public PipelineAggregator.PipelineTree subTree​(java.lang.String name)
      Get the sub-tree at for the named sub-aggregation or EMPTY if there are no pipeline aggragations for that sub-aggregator.
    • hasSubTrees

      public boolean hasSubTrees()
      Return true if this node in the tree has any subtrees.
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object