接口 SelectExpression

    • 方法详细资料

      • getDataType

        Type getDataType()
        Returns the data type of the select expression.
        返回:
        The data type of the select expression.
      • setScalarColumnText

        void setScalarColumnText​(int i)
                          throws antlr.SemanticException
        Appends AST nodes that represent the columns after the current AST node. (e.g. 'as col0_O_')
        参数:
        i - The index of the select expression in the projection list.
        抛出:
        antlr.SemanticException - if a semantic error occurs
      • setScalarColumn

        void setScalarColumn​(int i)
                      throws antlr.SemanticException
        Sets the index and text for select expression in the projection list.
        参数:
        i - The index of the select expression in the projection list.
        抛出:
        antlr.SemanticException - if a semantic error occurs
      • getScalarColumnIndex

        int getScalarColumnIndex()
        Gets index of the select expression in the projection list.
        返回:
        The index of the select expression in the projection list.
      • getFromElement

        FromElement getFromElement()
        Returns the FROM element that this expression refers to.
        返回:
        The FROM element.
      • isConstructor

        boolean isConstructor()
        Returns true if the element is a constructor (e.g. new Foo).
        返回:
        true if the element is a constructor (e.g. new Foo).
      • isReturnableEntity

        boolean isReturnableEntity()
                            throws antlr.SemanticException
        Returns true if this select expression represents an entity that can be returned.
        返回:
        true if this select expression represents an entity that can be returned.
        抛出:
        antlr.SemanticException - if a semantic error occurs
      • setText

        void setText​(String text)
        Sets the text of the node.
        参数:
        text - the new node text.
      • isScalar

        boolean isScalar()
                  throws antlr.SemanticException
        抛出:
        antlr.SemanticException
      • setAlias

        void setAlias​(String alias)