public class Union extends Directive implements DirectiveUIHints.Provider
Modifier and Type | Class and Description |
---|---|
private class |
Union.StaticUnionIterator |
private class |
Union.UnionIterator |
Modifier and Type | Field and Description |
---|---|
private Directive[] |
directives |
private java.util.ArrayList<java.lang.String> |
staticRoles |
private boolean |
useActive |
DEFAULT_COL, DEFAULT_NS
Constructor and Description |
---|
Union() |
Union(Directive d1) |
Union(Directive[] directives) |
Union(Directive d1,
Directive d2) |
Union(Directive d1,
Directive d2,
Directive d3) |
Union(Directive d1,
Directive d2,
Directive d3,
Directive d4) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
debugStringParams(java.lang.String indent) |
void |
endQuery(QueryContext context)
Signals end of query and performs any cleanup that may be needed.
|
DirectiveUIHints |
getUIHints() |
boolean |
isStatic() |
Union |
ofActiveRole() |
void |
ofRoles(java.lang.String... role) |
void |
ofRoles(java.lang.String r1) |
void |
ofRoles(java.lang.String r1,
java.lang.String r2) |
void |
ofRoles(java.lang.String r1,
java.lang.String r2,
java.lang.String r3) |
void |
ofRoles(java.lang.String r1,
java.lang.String r2,
java.lang.String r3,
java.lang.String r4) |
ResultIterator |
queryIterator(QueryContext context,
ResultRow input)
You must call startQuery before calling this and endQuery after you are
done with the result iterator.
|
boolean |
startQuery(QueryContext context)
Prepares the query for execution.
|
as, as, debugString, debugString, debugStringInner, debugStringInner, debugStringInner, debugStringParams, doQuery, from, from, from, from, from, from, from, from, from, from, getStandardAddonHints, getStandardAddonHints, join, main, of, query, to, to, to, to, to, where, where
private Directive[] directives
private java.util.ArrayList<java.lang.String> staticRoles
private boolean useActive
public Union()
public Union(Directive[] directives)
public Union(Directive d1)
public DirectiveUIHints getUIHints()
getUIHints
in interface DirectiveUIHints.Provider
public void endQuery(QueryContext context) throws QueryException
Directive
endQuery
in class Directive
QueryException
public boolean startQuery(QueryContext context) throws QueryException
Directive
startQuery
in class Directive
QueryException
public ResultIterator queryIterator(QueryContext context, ResultRow input) throws QueryException
Directive
queryIterator
in class Directive
QueryException
public Union ofActiveRole()
public void ofRoles(java.lang.String... role)
public void ofRoles(java.lang.String r1)
public void ofRoles(java.lang.String r1, java.lang.String r2)
public void ofRoles(java.lang.String r1, java.lang.String r2, java.lang.String r3)
public void ofRoles(java.lang.String r1, java.lang.String r2, java.lang.String r3, java.lang.String r4)
public java.lang.String debugStringParams(java.lang.String indent)
debugStringParams
in class Directive
Copyright 2004-2015 Wandora Team