public interface Union extends SelectExecutor
Modifier and Type | Interface and Description |
---|---|
static interface |
Union.Selector
A callback used to create the selects in a SQL union.
|
Modifier and Type | Method and Description |
---|---|
void |
abortUnion()
Force the use of a series of standard selects rather than a true UNION.
|
String |
getOrdering()
Get the union-level ordering, if any.
|
Select[] |
getSelects()
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.
|
execute, execute, getAutoDistinct, getConfiguration, getCount, getExpectedResultCount, getJoinSyntax, getSQL, hasMultipleSelects, isDistinct, isLRS, setAutoDistinct, setDistinct, setExpectedResultCount, setJoinSyntax, setLRS, supportsLocking, supportsRandomAccess, toSelect, toSelectCount
Select[] getSelects()
String getOrdering()
boolean isUnion()
void abortUnion()
void select(Union.Selector selector)
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.