public class IndexNode extends FromReferenceNode
ROOT_LEVEL
Constructor and Description |
---|
IndexNode() |
Modifier and Type | Method and Description |
---|---|
void |
prepareForDot(String propertyName) |
void |
resolve(boolean generateJoin,
boolean implicitJoin,
String classAlias,
antlr.collections.AST parent)
Does the work of resolving an identifier or a dot
|
void |
resolveIndex(antlr.collections.AST parent)
Does the work of resolving an an index [].
|
void |
setScalarColumnText(int i)
Appends AST nodes that represent the columns after the current AST node.
|
getDisplayText, getFromElement, getImpliedJoin, getPath, isResolved, isReturnableEntity, recursiveResolve, recursiveResolve, resolve, resolve, resolveFirstChild, resolveInFunctionCall, setFromElement, setResolved
getAlias, getScalarColumnIndex, isConstructor, isScalar, setAlias, setScalarColumn
getAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initialize
getDataType, getOriginalText, setDataType, setText
getColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initialize
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
initialize
getDataType, setText
public void setScalarColumnText(int i) throws antlr.SemanticException
SelectExpression
i
- The index of the select expression in the projection list.antlr.SemanticException
- if a semantic error occurspublic void prepareForDot(String propertyName) throws antlr.SemanticException
prepareForDot
in class FromReferenceNode
antlr.SemanticException
public void resolveIndex(antlr.collections.AST parent) throws antlr.SemanticException
ResolvableNode
antlr.SemanticException
public void resolve(boolean generateJoin, boolean implicitJoin, String classAlias, antlr.collections.AST parent) throws antlr.SemanticException
ResolvableNode
antlr.SemanticException
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.