类 QueryNode

    • 构造器详细资料

      • QueryNode

        public QueryNode()
    • 方法详细资料

      • getStatementType

        public int getStatementType()
        从接口复制的说明: Statement
        Return the main token type representing the type of this statement.
        指定者:
        getStatementType 在接口中 Statement
        返回:
        The corresponding token type.
      • needsExecutor

        public boolean needsExecutor()
        从接口复制的说明: Statement
        Does this statement require the StatementExecutor?

        Essentially, at the JDBC level, does this require an executeUpdate()?
        指定者:
        needsExecutor 在接口中 Statement
        返回:
        True if this statement should be handed off to the StatementExecutor to be executed; false otherwise.
      • getSelectClause

        public final SelectClause getSelectClause()
        Locate the select clause that is part of this select statement.

        Note, that this might return null as derived select clauses (i.e., no select clause at the HQL-level) get generated much later than when we get created; thus it depends upon lifecycle.
        返回:
        Our select clause, or null.
      • hasOrderByClause

        public final boolean hasOrderByClause()
      • getOrderByClause

        public final OrderByClause getOrderByClause()
      • isConstructor

        public boolean isConstructor()
        从接口复制的说明: SelectExpression
        Returns true if the element is a constructor (e.g. new Foo).
        指定者:
        isConstructor 在接口中 SelectExpression
        返回:
        true if the element is a constructor (e.g. new Foo).
      • isReturnableEntity

        public boolean isReturnableEntity()
                                   throws antlr.SemanticException
        从接口复制的说明: SelectExpression
        Returns true if this select expression represents an entity that can be returned.
        指定者:
        isReturnableEntity 在接口中 SelectExpression
        返回:
        true if this select expression represents an entity that can be returned.
        抛出:
        antlr.SemanticException - if a semantic error occurs
      • isScalar

        public boolean isScalar()
                         throws antlr.SemanticException
        指定者:
        isScalar 在接口中 SelectExpression
        抛出:
        antlr.SemanticException
      • setScalarColumn

        public void setScalarColumn​(int i)
                             throws antlr.SemanticException
        从接口复制的说明: SelectExpression
        Sets the index and text for select expression in the projection list.
        指定者:
        setScalarColumn 在接口中 SelectExpression
        参数:
        i - The index of the select expression in the projection list.
        抛出:
        antlr.SemanticException - if a semantic error occurs
      • getScalarColumnIndex

        public int getScalarColumnIndex()
        从接口复制的说明: SelectExpression
        Gets index of the select expression in the projection list.
        指定者:
        getScalarColumnIndex 在接口中 SelectExpression
        返回:
        The index of the select expression in the projection list.
      • setScalarColumnText

        public void setScalarColumnText​(int i)
                                 throws antlr.SemanticException
        从接口复制的说明: SelectExpression
        Appends AST nodes that represent the columns after the current AST node. (e.g. 'as col0_O_')
        指定者:
        setScalarColumnText 在接口中 SelectExpression
        参数:
        i - The index of the select expression in the projection list.
        抛出:
        antlr.SemanticException - if a semantic error occurs