public class Recursive extends Directive implements DirectiveUIHints.Provider
| Modifier and Type | Class and Description |
|---|---|
private class |
Recursive.RecursionIterator |
| Modifier and Type | Field and Description |
|---|---|
private int |
maxDepth |
private boolean |
onlyLeaves |
private Directive |
recursion |
DEFAULT_COL, DEFAULT_NS| Constructor and Description |
|---|
Recursive() |
Recursive(Directive recursion) |
Recursive(Directive recursion,
int maxDepth) |
Recursive(Directive recursion,
int maxDepth,
boolean onlyLeaves) |
| 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() |
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, isStatic, join, main, of, query, to, to, to, to, to, where, whereprivate Directive recursion
private int maxDepth
private boolean onlyLeaves
public Recursive()
public Recursive(Directive recursion, int maxDepth, boolean onlyLeaves)
public Recursive(Directive recursion, int maxDepth)
public Recursive(Directive recursion)
public DirectiveUIHints getUIHints()
getUIHints in interface DirectiveUIHints.Providerpublic boolean startQuery(QueryContext context) throws QueryException
DirectivestartQuery in class DirectiveQueryExceptionpublic void endQuery(QueryContext context) throws QueryException
DirectiveendQuery in class DirectiveQueryExceptionpublic ResultIterator queryIterator(QueryContext context, ResultRow input) throws QueryException
DirectivequeryIterator in class DirectiveQueryExceptionpublic java.lang.String debugStringParams(java.lang.String indent)
debugStringParams in class DirectiveCopyright 2004-2015 Wandora Team