Class PostAggregatorVisitor

java.lang.Object
org.apache.druid.sql.calcite.expression.PostAggregatorVisitor

public class PostAggregatorVisitor extends Object
This class serves as a tracking structure for managing post aggregator column names and any post aggs that are created as part of translation of a Calcite RexNode into native Druid structures.
  • Constructor Details

    • PostAggregatorVisitor

      public PostAggregatorVisitor(String outputNamePrefix)
  • Method Details

    • getAndIncrementCounter

      public int getAndIncrementCounter()
    • getOutputNamePrefix

      public String getOutputNamePrefix()
    • getPostAggs

      public List<PostAggregator> getPostAggs()
    • addPostAgg

      public void addPostAgg(PostAggregator postAggregator)