|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Union
SQL UNION.
Nested Class Summary | |
---|---|
static interface |
Union.Selector
A callback used to create the selects in a SQL union. |
Method Summary | |
---|---|
void |
abortUnion()
Force the use of a series of standard selects rather than a true UNION. |
java.lang.String |
getOrdering()
Get the union-level ordering, if any. |
Select[] |
getSelects()
Return the selects that make up this union. |
boolean |
isSingleResult()
Whether this union will return at most a single result. |
boolean |
isUnion()
Whether this is a true UNION, rather than a logical combination of independent selects. |
void |
select(Union.Selector selector)
Select data using the given selector. |
void |
setSingleResult(boolean single)
Whether this union will return at most a single result. |
Methods inherited from interface org.apache.openjpa.jdbc.sql.SelectExecutor |
---|
execute, execute, getAutoDistinct, getConfiguration, getCount, getJoinSyntax, isDistinct, isLRS, setAutoDistinct, setDistinct, setJoinSyntax, setLRS, supportsLocking, supportsRandomAccess, toSelect, toSelectCount |
Method Detail |
---|
Select[] getSelects()
java.lang.String getOrdering()
boolean isSingleResult()
void setSingleResult(boolean single)
boolean isUnion()
void abortUnion()
void select(Union.Selector selector)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |