Package de.businesscode.bcdui.wrs.load
Class SqlFromFullSelect
- java.lang.Object
-
- de.businesscode.bcdui.wrs.load.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 Summary
Fields Modifier and Type Field Description protected org.w3c.dom.Element
fullSelectParentElem
protected SqlFromSubSelect
parent
protected WrqBindingSet
representingBindingSet
protected java.util.Set<StandardBindingSet>
resolvedBindingSets
protected java.util.LinkedList<WrsBindingItem>
selectedBindingItems
protected WrqQueryBuilder
wrqQueryBuilder
-
Constructor Summary
Constructors Constructor Description SqlFromFullSelect(WrqQueryBuilder wrqQueryBuilder, SqlFromSubSelect parent, org.w3c.dom.Element fullSelectParent)
We are initialized for a full-select (SELECTs connected with SET operators).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SQLStatementWithParams
createSelectStatement()
Handles a "full-select", i.e.WrqBindingSet
getRepresentingBindingSet()
java.util.Set<StandardBindingSet>
getResolvedBindingSets()
java.util.LinkedList<WrsBindingItem>
getSelectedBindingItems()
SQLStatementWithParams
getSelectStatement()
-
-
-
Field Detail
-
fullSelectParentElem
protected final org.w3c.dom.Element fullSelectParentElem
-
wrqQueryBuilder
protected final WrqQueryBuilder wrqQueryBuilder
-
selectedBindingItems
protected java.util.LinkedList<WrsBindingItem> selectedBindingItems
-
representingBindingSet
protected WrqBindingSet representingBindingSet
-
resolvedBindingSets
protected java.util.Set<StandardBindingSet> resolvedBindingSets
-
parent
protected final SqlFromSubSelect parent
-
-
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
-
getSelectStatement
public SQLStatementWithParams getSelectStatement()
-
getSelectedBindingItems
public java.util.LinkedList<WrsBindingItem> getSelectedBindingItems()
-
getRepresentingBindingSet
public WrqBindingSet getRepresentingBindingSet()
-
getResolvedBindingSets
public java.util.Set<StandardBindingSet> getResolvedBindingSets()
-
-