类 IndexNode
- java.lang.Object
-
- antlr.BaseAST
-
- antlr.CommonAST
-
- 所有已实现的接口:
antlr.collections.AST,Serializable,DisplayableNode,InitializeableNode,PathNode,ResolvableNode,SelectExpression
public class IndexNode extends FromReferenceNode
Represents the [] operator and provides it's semantics.- 作者:
- josh
- 另请参阅:
- 序列化表格
-
-
字段概要
-
从类继承的字段 org.hibernate.hql.internal.ast.tree.FromReferenceNode
ROOT_LEVEL
-
-
构造器概要
构造器 构造器 说明 IndexNode()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidprepareForDot(String propertyName)voidresolve(boolean generateJoin, boolean implicitJoin, String classAlias, antlr.collections.AST parent, antlr.collections.AST parentPredicate)Does the work of resolving an identifier or a dotvoidresolveIndex(antlr.collections.AST parent)Does the work of resolving an index [].voidsetScalarColumnText(int i)Appends AST nodes that represent the columns after the current AST node.-
从类继承的方法 org.hibernate.hql.internal.ast.tree.FromReferenceNode
getDisplayText, getFromElement, getImpliedJoin, getPath, isFromElementUpdateOrDeleteRoot, isResolved, isReturnableEntity, recursiveResolve, recursiveResolve, resolve, resolve, resolve, resolveFirstChild, resolveInFunctionCall, setFromElement, setResolved
-
从类继承的方法 org.hibernate.hql.internal.ast.tree.AbstractSelectExpression
getAlias, getScalarColumnIndex, isConstructor, 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.InitializeableNode
initialize
-
从接口继承的方法 org.hibernate.hql.internal.ast.tree.SelectExpression
getDataType, setText
-
-
-
-
方法详细资料
-
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_')- 参数:
i- The index of the select expression in the projection list.- 抛出:
antlr.SemanticException- if a semantic error occurs
-
prepareForDot
public void prepareForDot(String propertyName) throws antlr.SemanticException
- 覆盖:
prepareForDot在类中FromReferenceNode- 抛出:
antlr.SemanticException
-
resolveIndex
public void resolveIndex(antlr.collections.AST parent) throws antlr.SemanticException从接口复制的说明:ResolvableNodeDoes the work of resolving an index [].- 抛出:
antlr.SemanticException
-
resolve
public void resolve(boolean generateJoin, boolean implicitJoin, String classAlias, antlr.collections.AST parent, antlr.collections.AST parentPredicate) throws antlr.SemanticException从接口复制的说明:ResolvableNodeDoes the work of resolving an identifier or a dot- 抛出:
antlr.SemanticException
-
-