Class SqlNode

    • Constructor Detail

      • SqlNode

        public SqlNode()
    • Method Detail

      • getType

        public abstract SqlNodeType getType()
        Gets type.
        Returns:
        the type
      • getParent

        public SqlNode getParent()
        Gets parent.
        Returns:
        the parent
      • setParent

        public void setParent​(SqlNode parent)
        Sets parent.
        Parameters:
        parent - the parent
      • hasParent

        public boolean hasParent()
        Has parent boolean.
        Returns:
        the boolean
      • accept

        public abstract <R> R accept​(SqlNodeVisitor<R> visitor)
                              throws AdapterException
        Type Parameters:
        R - generic SqlNodeVisitor type
        Parameters:
        visitor - The visitor object on which the appropriate visit(sqlNode) method is called
        Returns:
        visited object
        Throws:
        AdapterException - can be thrown