Package org.apache.openjpa.jdbc.sql
Interface Union
- All Superinterfaces:
SelectExecutor
- All Known Implementing Classes:
LogicalUnion
SQL UNION.
- Author:
- Abe White
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A callback used to create the selects in a SQL union. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Force the use of a series of standard selects rather than a true UNION.Get the union-level ordering, if any.Select[]
Return the selects that make up this union.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.Methods inherited from interface org.apache.openjpa.jdbc.sql.SelectExecutor
execute, execute, getAutoDistinct, getConfiguration, getCount, getExpectedResultCount, getJoinSyntax, getSQL, hasMultipleSelects, isDistinct, isLRS, setAutoDistinct, setDistinct, setExpectedResultCount, setJoinSyntax, setLRS, supportsLocking, supportsRandomAccess, toSelect, toSelectCount
-
Method Details
-
getSelects
Select[] getSelects()Return the selects that make up this union. -
getOrdering
String getOrdering()Get the union-level ordering, if any. -
isUnion
boolean isUnion()Whether this is a true UNION, rather than a logical combination of independent selects. -
abortUnion
void abortUnion()Force the use of a series of standard selects rather than a true UNION. -
select
Select data using the given selector.
-