public class ResultVariableRefNode extends HqlSqlWalkerNode
select v as value from tab1 order by value
"value" used in the order by clause is a reference to the
result_variable, "value", defined in the select clause.| Constructor and Description |
|---|
ResultVariableRefNode() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRenderText(SessionFactoryImplementor sessionFactory)
Retrieve the text to be used for rendering this particular node.
|
void |
setSelectExpression(SelectExpression selectExpression)
Set the select expression that defines the result variable.
|
getAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initializegetDataType, getOriginalText, setDataType, setTextgetColumn, getFilename, getLine, 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, xmlSerializeRootOpenpublic void setSelectExpression(SelectExpression selectExpression) throws antlr.SemanticException
selectExpression - the select expression;
selectExpression.getAlias() must be non-nullantlr.SemanticException - if selectExpression or
selectExpression.getAlias() is null.public java.lang.String getRenderText(SessionFactoryImplementor sessionFactory)
NodegetRenderText in class NodesessionFactory - The session factoryCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.