Interface GridSqlAst

    • Method Detail

      • getSQL

        String getSQL()
        Returns:
        Generate sql from this AST.
      • size

        int size()
        Returns:
        Number of child nodes.
      • child

        <E extends GridSqlAst> E child​(int childIdx)
        Get child by index.
        Parameters:
        childIdx - Index of the requested child.
        Returns:
        Child element.
      • child

        <E extends GridSqlAst> E child()
        Get the first child.
        Returns:
        Child element.
      • child

        <E extends GridSqlAst> void child​(int childIdx,
                                          E child)
        Set child.
        Parameters:
        childIdx - Index of the requested child.
        child - Child element.
      • resultType

        GridSqlType resultType()
        Returns:
        Optional expression result type (if this is an expression and result type is known).