类 AggregateNode
- java.lang.Object
-
- antlr.BaseAST
-
- antlr.CommonAST
-
- org.hibernate.hql.internal.ast.tree.Node
-
- org.hibernate.hql.internal.ast.tree.SqlNode
-
- org.hibernate.hql.internal.ast.tree.HqlSqlWalkerNode
-
- org.hibernate.hql.internal.ast.tree.AbstractSelectExpression
-
- org.hibernate.hql.internal.ast.tree.AggregateNode
-
- 所有已实现的接口:
antlr.collections.AST,Serializable,FunctionNode,InitializeableNode,SelectExpression
public class AggregateNode extends AbstractSelectExpression implements SelectExpression, FunctionNode
Represents an aggregate function i.e. min, max, sum, avg.- 作者:
- Joshua Davis
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 AggregateNode()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 TypegetDataType()Returns the data type of the select expression.TypegetFirstArgumentType()SQLFunctiongetSQLFunction()booleanisScalar()voidresolve()voidsetScalarColumnText(int i)Appends AST nodes that represent the columns after the current AST node.-
从类继承的方法 org.hibernate.hql.internal.ast.tree.AbstractSelectExpression
getAlias, getFromElement, getScalarColumnIndex, isConstructor, isReturnableEntity, setAlias, setScalarColumn
-
从类继承的方法 org.hibernate.hql.internal.ast.tree.HqlSqlWalkerNode
getAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initialize
-
从类继承的方法 org.hibernate.hql.internal.ast.tree.SqlNode
getOriginalText, setDataType, setText
-
从类继承的方法 org.hibernate.hql.internal.ast.tree.Node
getColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initialize
-
从类继承的方法 antlr.BaseAST
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 org.hibernate.hql.internal.ast.tree.SelectExpression
getAlias, getFromElement, getScalarColumnIndex, isConstructor, isReturnableEntity, setAlias, setScalarColumn, setText
-
-
-
-
方法详细资料
-
getSQLFunction
public SQLFunction getSQLFunction()
- 指定者:
getSQLFunction在接口中FunctionNode
-
resolve
public void resolve()
-
getFirstArgumentType
public Type getFirstArgumentType()
- 指定者:
getFirstArgumentType在接口中FunctionNode
-
getDataType
public Type getDataType()
从接口复制的说明:SelectExpressionReturns the data type of the select expression.- 指定者:
getDataType在接口中SelectExpression- 覆盖:
getDataType在类中SqlNode- 返回:
- The data type of the select expression.
-
setScalarColumnText
public void setScalarColumnText(int i) throws antlr.SemanticException从接口复制的说明:SelectExpressionAppends AST nodes that represent the columns after the current AST node. (e.g. 'as col0_O_')- 指定者:
setScalarColumnText在接口中SelectExpression- 参数:
i- The index of the select expression in the projection list.- 抛出:
antlr.SemanticException- if a semantic error occurs
-
isScalar
public boolean isScalar() throws antlr.SemanticException- 指定者:
isScalar在接口中SelectExpression- 覆盖:
isScalar在类中AbstractSelectExpression- 抛出:
antlr.SemanticException
-
-