public class IndexNode extends FromReferenceNode
ROOT_LEVEL| Constructor and Description |
|---|
IndexNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
prepareForDot(java.lang.String propertyName) |
void |
resolve(boolean generateJoin,
boolean implicitJoin,
java.lang.String classAlias,
antlr.collections.AST parent,
antlr.collections.AST parentPredicate)
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, 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(java.lang.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,
java.lang.String classAlias,
antlr.collections.AST parent,
antlr.collections.AST parentPredicate)
throws antlr.SemanticException
ResolvableNodeantlr.SemanticExceptionCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.