public class Last extends Directive implements DirectiveUIHints.Provider
Modifier and Type | Field and Description |
---|---|
private int |
count |
private Directive |
directive |
DEFAULT_COL, DEFAULT_NS
Constructor and Description |
---|
Last() |
Last(Directive directive) |
Last(int count,
Directive directive) |
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, where
private Directive directive
private int count
public Last()
public Last(int count, Directive directive)
public Last(Directive directive)
public DirectiveUIHints getUIHints()
getUIHints
in interface DirectiveUIHints.Provider
public boolean startQuery(QueryContext context) throws QueryException
Directive
startQuery
in class Directive
QueryException
public void endQuery(QueryContext context) throws QueryException
Directive
endQuery
in class Directive
QueryException
public ResultIterator queryIterator(QueryContext context, ResultRow input) throws QueryException
Directive
queryIterator
in class Directive
QueryException
public java.lang.String debugStringParams(java.lang.String indent)
debugStringParams
in class Directive
Copyright 2004-2015 Wandora Team