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, isFromElementUpdateOrDeleteRoot, isResolved, isReturnableEntity, recursiveResolve, recursiveResolve, resolve, resolve, resolveFirstChild, resolveInFunctionCall, setFromElement, setResolvedgetAlias, getScalarColumnIndex, isConstructor, isScalar, setAlias, setScalarColumngetAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initializegetDataType, getOriginalText, setDataType, setTextgetColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initializeaddChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpenclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinitializegetDataType, setTextpublic void setScalarColumnText(int i)
throws antlr.SemanticException
SelectExpressioni - 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 FromReferenceNodeantlr.SemanticExceptionpublic void resolveIndex(antlr.collections.AST parent)
throws antlr.SemanticException
ResolvableNodeantlr.SemanticExceptionpublic void resolve(boolean generateJoin,
boolean implicitJoin,
String classAlias,
antlr.collections.AST parent)
throws antlr.SemanticException
ResolvableNodeantlr.SemanticExceptionCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.