public class SelectExpressionImpl extends FromReferenceNode implements SelectExpression
ROOT_LEVEL
Constructor and Description |
---|
SelectExpressionImpl() |
Modifier and Type | Method and Description |
---|---|
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, prepareForDot, 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
getAlias, getDataType, getFromElement, getScalarColumnIndex, isConstructor, isReturnableEntity, isScalar, setAlias, setScalarColumn, setText
initialize
public void resolveIndex(antlr.collections.AST parent) throws antlr.SemanticException
ResolvableNode
resolveIndex
in interface ResolvableNode
antlr.SemanticException
public void setScalarColumnText(int i) throws antlr.SemanticException
SelectExpression
setScalarColumnText
in interface SelectExpression
i
- The index of the select expression in the projection list.antlr.SemanticException
- if a semantic error occurspublic void resolve(boolean generateJoin, boolean implicitJoin, String classAlias, antlr.collections.AST parent) throws antlr.SemanticException
ResolvableNode
resolve
in interface ResolvableNode
antlr.SemanticException
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.