public class IdentNode extends FromReferenceNode implements SelectExpression
ROOT_LEVEL
Constructor and Description |
---|
IdentNode() |
Modifier and Type | Method and Description |
---|---|
Type |
getDataType()
Returns the data type of the select expression.
|
String |
getDisplayText()
Returns additional display text for the AST node.
|
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.
|
getFromElement, getImpliedJoin, getPath, isFromElementUpdateOrDeleteRoot, isResolved, isReturnableEntity, prepareForDot, recursiveResolve, recursiveResolve, resolve, resolve, resolveFirstChild, resolveInFunctionCall, setFromElement, setResolved
getAlias, getScalarColumnIndex, isConstructor, isScalar, setAlias, setScalarColumn
getAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initialize
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, 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 resolve(boolean generateJoin, boolean implicitJoin, String classAlias, antlr.collections.AST parent)
ResolvableNode
resolve
in interface ResolvableNode
public Type getDataType()
SelectExpression
getDataType
in interface SelectExpression
getDataType
in class SqlNode
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 String getDisplayText()
DisplayableNode
getDisplayText
in interface DisplayableNode
getDisplayText
in class FromReferenceNode
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.