Class SingleValueSqlAggregator

java.lang.Object
org.apache.druid.sql.calcite.aggregation.builtin.SimpleSqlAggregator
org.apache.druid.sql.calcite.aggregation.builtin.SingleValueSqlAggregator
All Implemented Interfaces:
SqlAggregator

public class SingleValueSqlAggregator extends SimpleSqlAggregator
This class serves as binding for Single Value Aggregator. Returns a single value in cases of subqueries used in expressions
  • Constructor Details

    • SingleValueSqlAggregator

      public SingleValueSqlAggregator()
  • Method Details

    • calciteFunction

      public org.apache.calcite.sql.SqlAggFunction calciteFunction()
      Description copied from interface: SqlAggregator
      Returns the SQL operator corresponding to this aggregation function. Should be a singleton.
      Returns:
      operator