public class Operand extends Directive implements DirectiveUIHints.Provider
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
cache |
protected boolean |
isCached |
protected java.lang.Object |
operand |
protected boolean |
stat |
DEFAULT_COL, DEFAULT_NS| Constructor and Description |
|---|
Operand() |
Operand(java.lang.Object operand) |
| Modifier and Type | Method and Description |
|---|---|
static void |
endOperands(QueryContext context,
Operand... os) |
void |
endQuery(QueryContext context)
Signals end of query and performs any cleanup that may be needed.
|
java.lang.Object |
getOperandObject(QueryContext context,
ResultRow input) |
java.lang.String |
getOperandString(QueryContext context,
ResultRow input) |
DirectiveUIHints |
getUIHints() |
boolean |
isStatic() |
static Operand |
makeOperand(java.lang.Object o) |
static Operand[] |
makeOperands(java.lang.Object[] os) |
ResultIterator |
queryIterator(QueryContext context,
ResultRow input)
You must call startQuery before calling this and endQuery after you are
done with the result iterator.
|
static boolean |
startOperands(QueryContext context,
Operand... os) |
boolean |
startQuery(QueryContext context)
Prepares the query for execution.
|
as, as, debugString, debugString, debugStringInner, debugStringInner, debugStringInner, debugStringParams, debugStringParams, doQuery, from, from, from, from, from, from, from, from, from, from, getStandardAddonHints, getStandardAddonHints, join, main, of, query, to, to, to, to, to, where, whereprotected java.lang.Object operand
protected boolean stat
protected java.lang.Object cache
protected boolean isCached
public DirectiveUIHints getUIHints()
getUIHints in interface DirectiveUIHints.Providerpublic static Operand makeOperand(java.lang.Object o)
public static Operand[] makeOperands(java.lang.Object[] os)
public static boolean startOperands(QueryContext context, Operand... os) throws QueryException
QueryExceptionpublic static void endOperands(QueryContext context, Operand... os) throws QueryException
QueryExceptionpublic 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 getOperandString(QueryContext context, ResultRow input) throws QueryException
QueryExceptionpublic java.lang.Object getOperandObject(QueryContext context, ResultRow input) throws QueryException
QueryExceptionCopyright 2004-2015 Wandora Team