public class

AggregateNode

extends AbstractSelectExpression
implements FunctionNode SelectExpression
java.lang.Object
   ↳ antlr.CommonAST
     ↳ org.hibernate.hql.ast.tree.Node
       ↳ org.hibernate.hql.ast.tree.SqlNode
         ↳ org.hibernate.hql.ast.tree.HqlSqlWalkerNode
           ↳ org.hibernate.hql.ast.tree.AbstractSelectExpression
             ↳ org.hibernate.hql.ast.tree.AggregateNode

Class Overview

Represents an aggregate function i.e. min, max, sum, avg.

Summary

Public Constructors
AggregateNode()
Public Methods
Type getDataType()
Type getFirstArgumentType()
SQLFunction getSQLFunction()
boolean isScalar()
void resolve()
void setScalarColumnText(int i)
Appends AST nodes that represent the columns after the current AST node.
[Expand]
Inherited Methods
From class org.hibernate.hql.ast.tree.AbstractSelectExpression
From class org.hibernate.hql.ast.tree.HqlSqlWalkerNode
From class org.hibernate.hql.ast.tree.SqlNode
From class org.hibernate.hql.ast.tree.Node
From class java.lang.Object
From interface org.hibernate.hql.ast.tree.FunctionNode
From interface org.hibernate.hql.ast.tree.InitializeableNode
From interface org.hibernate.hql.ast.tree.SelectExpression

Public Constructors

public AggregateNode ()

Public Methods

public Type getDataType ()

public Type getFirstArgumentType ()

public SQLFunction getSQLFunction ()

public boolean isScalar ()

Throws
SemanticException

public void resolve ()

public void setScalarColumnText (int i)

Appends AST nodes that represent the columns after the current AST node. (e.g. 'as col0_O_')

Parameters
i The index of the select expression in the projection list.
Throws
SemanticException