类 MethodNode
- 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.MethodNode
-
- 所有已实现的接口:
antlr.collections.AST,Serializable,FunctionNode,InitializeableNode,SelectExpression
- 直接已知子类:
CollectionFunction
public class MethodNode extends AbstractSelectExpression implements FunctionNode
Represents a method call.- 作者:
- josh
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 MethodNode()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetDisplayText()TypegetFirstArgumentType()FromElementgetFromElement()Returns the FROM element that this expression refers to.SQLFunctiongetSQLFunction()voidinitializeMethodNode(antlr.collections.AST name, boolean inSelect)booleanisCollectionPropertyMethod()booleanisScalar()protected voidprepareSelectColumns(String[] columns)voidresolve(boolean inSelect)protected voidresolveCollectionProperty(antlr.collections.AST expr)voidsetScalarColumnText(int i)Appends AST nodes that represent the columns after the current AST node.-
从类继承的方法 org.hibernate.hql.internal.ast.tree.AbstractSelectExpression
getAlias, getScalarColumnIndex, isConstructor, isReturnableEntity, 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
-
-
-
-
方法详细资料
-
isScalar
public boolean isScalar() throws antlr.SemanticException- 指定者:
isScalar在接口中SelectExpression- 覆盖:
isScalar在类中AbstractSelectExpression- 抛出:
antlr.SemanticException
-
getSQLFunction
public SQLFunction getSQLFunction()
- 指定者:
getSQLFunction在接口中FunctionNode
-
getFirstArgumentType
public Type getFirstArgumentType()
- 指定者:
getFirstArgumentType在接口中FunctionNode
-
resolve
public void resolve(boolean inSelect) throws antlr.SemanticException- 抛出:
antlr.SemanticException
-
initializeMethodNode
public void initializeMethodNode(antlr.collections.AST name, boolean inSelect)
-
isCollectionPropertyMethod
public boolean isCollectionPropertyMethod()
-
resolveCollectionProperty
protected void resolveCollectionProperty(antlr.collections.AST expr) throws antlr.SemanticException- 抛出:
antlr.SemanticException
-
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
-
prepareSelectColumns
protected void prepareSelectColumns(String[] columns)
-
getFromElement
public FromElement getFromElement()
从接口复制的说明:SelectExpressionReturns the FROM element that this expression refers to.- 指定者:
getFromElement在接口中SelectExpression- 覆盖:
getFromElement在类中AbstractSelectExpression- 返回:
- The FROM element.
-
getDisplayText
public String getDisplayText()
-
-