Class SQLGenerationVisitor

    • Constructor Detail

      • SQLGenerationVisitor

        public SQLGenerationVisitor​(QuotingAppendable appendable)
    • Method Detail

      • onNodeStart

        public boolean onNodeStart​(Node node)
        Specified by:
        onNodeStart in interface NodeTreeVisitor
        Parameters:
        node - to visit
        Returns:
        false if visitor should stop
      • onChildNodeStart

        public boolean onChildNodeStart​(Node parent,
                                        Node child,
                                        int index,
                                        boolean hasMore)
        Specified by:
        onChildNodeStart in interface NodeTreeVisitor
        Parameters:
        parent - node
        child - node
        index - of this child in parent
        hasMore - true if more children after this child
        Returns:
        false if visitor should stop
      • getSQLString

        public String getSQLString()