Class NonWindowableAggregationFunction<T>
- java.lang.Object
-
- org.hotrod.runtime.livesql.expressions.Expression<T>
-
- org.hotrod.runtime.livesql.expressions.aggregations.AggregationFunction<T>
-
- org.hotrod.runtime.livesql.expressions.aggregations.NonWindowableAggregationFunction<T>
-
- All Implemented Interfaces:
ResultSetColumn
- Direct Known Subclasses:
AvgDistinct,Count,CountDistinct,GroupConcatDistinct,SumDistinct
public abstract class NonWindowableAggregationFunction<T> extends AggregationFunction<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected Expression<?>expression-
Fields inherited from class org.hotrod.runtime.livesql.expressions.Expression
PRECEDENCE_AND, PRECEDENCE_ANY_ALL_EQ_NE_LT_LE_GT_GE, PRECEDENCE_BETWEEN, PRECEDENCE_CASE, PRECEDENCE_COLUMN, PRECEDENCE_EQ_NE_LT_LE_GT_GE, PRECEDENCE_EXISTS, PRECEDENCE_FUNCTION, PRECEDENCE_IN, PRECEDENCE_IS_NULL, PRECEDENCE_LIKE, PRECEDENCE_LITERAL, PRECEDENCE_MULT_DIV_MOD, PRECEDENCE_NOT, PRECEDENCE_OR, PRECEDENCE_PARENTHESIS, PRECEDENCE_PLUS_MINUS, PRECEDENCE_TUPLE, PRECEDENCE_UNARY_MINUS
-
-
Constructor Summary
Constructors Constructor Description NonWindowableAggregationFunction(java.lang.String functionName, java.lang.String qualifier, Expression<?> expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddesignateAliases(AbstractSelect.AliasGenerator ag)protected voidrenderHead(QueryWriter w)protected voidrenderTail(QueryWriter w)voidrenderTo(QueryWriter w)voidvalidateTableReferences(AbstractSelect.TableReferences tableReferences, AbstractSelect.AliasGenerator ag)-
Methods inherited from class org.hotrod.runtime.livesql.expressions.Expression
as, asc, between, between, between, between, desc, eq, eq, eqAll, eqAny, ge, ge, geAll, geAny, getPrecedence, gt, gt, gtAll, gtAny, in, in, in, isNotNull, isNull, le, le, leAll, leAny, lt, lt, ltAll, ltAny, ne, ne, neAll, neAny, notBetween, notBetween, notBetween, notBetween, notIn, notIn, notIn, renderInner, setPrecedence
-
-
-
-
Field Detail
-
expression
protected Expression<?> expression
-
-
Constructor Detail
-
NonWindowableAggregationFunction
public NonWindowableAggregationFunction(java.lang.String functionName, java.lang.String qualifier, Expression<?> expression)
-
-
Method Detail
-
renderTo
public void renderTo(QueryWriter w)
- Specified by:
renderToin interfaceResultSetColumn- Specified by:
renderToin classExpression<T>
-
renderHead
protected void renderHead(QueryWriter w)
-
renderTail
protected void renderTail(QueryWriter w)
-
validateTableReferences
public void validateTableReferences(AbstractSelect.TableReferences tableReferences, AbstractSelect.AliasGenerator ag)
- Specified by:
validateTableReferencesin classExpression<T>
-
designateAliases
public void designateAliases(AbstractSelect.AliasGenerator ag)
- Specified by:
designateAliasesin classExpression<T>
-
-