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
This class serves as binding for Single Value Aggregator.
Returns a single value in cases of subqueries used in expressions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.sql.SqlAggFunctionReturns the SQL operator corresponding to this aggregation function.Methods inherited from class org.apache.druid.sql.calcite.aggregation.builtin.SimpleSqlAggregator
badTypeException, toDruidAggregationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.sql.calcite.aggregation.SqlAggregator
toDruidAggregation
-
Constructor Details
-
SingleValueSqlAggregator
public SingleValueSqlAggregator()
-
-
Method Details
-
calciteFunction
public org.apache.calcite.sql.SqlAggFunction calciteFunction()Description copied from interface:SqlAggregatorReturns the SQL operator corresponding to this aggregation function. Should be a singleton.- Returns:
- operator
-