final class CompoundComponent
extends java.lang.Object
Joinable
object to which record retrieval tasks are delegated, the natural iteration type of this
component query, and the type of join to perform with the previous component (if any).Modifier and Type | Field and Description |
---|---|
private int |
iteration
Iteration behavior (from
QueryConstants ) |
private boolean |
outer
true for outer join; false for inner |
private Joinable |
query
Component query
|
Constructor and Description |
---|
CompoundComponent(Joinable query,
int iteration,
boolean outer)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
(package private) int |
getIteration()
Get the natural iteration type.
|
(package private) Joinable |
getQuery()
Get the delegate query.
|
(package private) boolean |
isOuter()
Does this query join to the previous query component using a left
outer join?
|
(package private) void |
setInner()
Disable the left outer join designation of this query component.
|
private final Joinable query
private final int iteration
QueryConstants
)private boolean outer
true
for outer join; false
for innerCompoundComponent(Joinable query, int iteration, boolean outer)
query
- Component query.iteration
- Iteration behavior (from QueryConstants
).outer
- true
for outer join; false
for
inner.Joinable getQuery()
int getIteration()
boolean isOuter()
true
if left outer join; false
if inner join.void setInner()