类 ResultVariableRefNode

  • 所有已实现的接口:
    antlr.collections.AST, Serializable, InitializeableNode

    public class ResultVariableRefNode
    extends HqlSqlWalkerNode
    Represents a reference to a result_variable as defined in the JPA 2 spec. For example: 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.

    作者:
    Gail Badner
    另请参阅:
    序列化表格
    • 构造器详细资料

      • ResultVariableRefNode

        public ResultVariableRefNode()
    • 方法详细资料

      • setSelectExpression

        public void setSelectExpression​(SelectExpression selectExpression)
                                 throws antlr.SemanticException
        Set the select expression that defines the result variable.
        参数:
        selectExpression - the select expression; selectExpression.getAlias() must be non-null
        抛出:
        antlr.SemanticException - if selectExpression or selectExpression.getAlias() is null.
      • getRenderText

        public String getRenderText​(SessionFactoryImplementor sessionFactory)
        从类复制的说明: Node
        Retrieve the text to be used for rendering this particular node.
        覆盖:
        getRenderText 在类中 Node
        参数:
        sessionFactory - The session factory
        返回:
        The text to use for rendering