Class SqlFromFullSelect


  • public class SqlFromFullSelect
    extends java.lang.Object
    Takes the parent node of SELECTs with SET operators (formally a "full-select") in Wrq format and generates SQL from it together with the bound variables, ready to be executed
    • Field Detail

      • fullSelectParentElem

        protected final org.w3c.dom.Element fullSelectParentElem
      • selectedBindingItems

        protected java.util.LinkedList<WrsBindingItem> selectedBindingItems
      • representingBindingSet

        protected WrqBindingSet representingBindingSet
    • Constructor Detail

      • SqlFromFullSelect

        public SqlFromFullSelect​(WrqQueryBuilder wrqQueryBuilder,
                                 SqlFromSubSelect parent,
                                 org.w3c.dom.Element fullSelectParent)
                          throws java.lang.Exception
        We are initialized for a full-select (SELECTs connected with SET operators).
        Parameters:
        fullSelectParent -
        wrqQueryBuilder -
        Throws:
        java.lang.Exception
    • Method Detail

      • createSelectStatement

        protected SQLStatementWithParams createSelectStatement()
                                                        throws java.lang.Exception
        Handles a "full-select", i.e. SELECT [ UNION SELECT ]* [ ORDER BY ]
        Throws:
        java.lang.Exception
      • getSelectedBindingItems

        public java.util.LinkedList<WrsBindingItem> getSelectedBindingItems()
      • getRepresentingBindingSet

        public WrqBindingSet getRepresentingBindingSet()
      • getResolvedBindingSets

        public java.util.Set<StandardBindingSet> getResolvedBindingSets()