类 CastFunctionNode
- 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.CastFunctionNode
-
- 所有已实现的接口:
antlr.collections.AST,Serializable,FunctionNode,InitializeableNode,SelectExpression
public class CastFunctionNode extends AbstractSelectExpression implements FunctionNode
Represents a cast function call. We handle this specially because its type argument has a semantic meaning to the HQL query (its not just pass through).- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 CastFunctionNode()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 TypegetFirstArgumentType()SQLFunctiongetSQLFunction()voidresolve(boolean inSelect)Called from the hql-sql grammar after the children of the CAST have been resolved.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, isScalar, setAlias, setScalarColumn
-
从类继承的方法 org.hibernate.hql.internal.ast.tree.HqlSqlWalkerNode
getAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initialize
-
从类继承的方法 org.hibernate.hql.internal.ast.tree.SqlNode
getDataType, 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
getDataType, setText
-
-
-
-
方法详细资料
-
resolve
public void resolve(boolean inSelect)
Called from the hql-sql grammar after the children of the CAST have been resolved.- 参数:
inSelect- Is this call part of the SELECT clause?
-
getSQLFunction
public SQLFunction getSQLFunction()
- 指定者:
getSQLFunction在接口中FunctionNode
-
getFirstArgumentType
public Type getFirstArgumentType()
- 指定者:
getFirstArgumentType在接口中FunctionNode
-
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
-
-