|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.core.Progress
org.basex.query.QueryContext
public abstract class QueryContext
This abstract query expression provides the architecture for a compiled query.
| Constructor Summary | |
|---|---|
QueryContext()
|
|
| Method Summary | |
|---|---|
abstract void |
compile(Nodes nodes)
Optimizes the expression. |
void |
compInfo(java.lang.String string,
java.lang.Object... ext)
Adds some optimization info. |
java.lang.String |
det()
Returns detailed information on this progress. |
abstract Result |
eval(Nodes nodes)
Evaluates the expression with the specified context set. |
void |
evalInfo(java.lang.String string,
java.lang.Object... ext)
Adds some evaluation info. |
java.lang.String |
head()
Returns short information on this process. |
java.lang.String |
info()
Returns query background information. |
double |
prog()
Returns progress information. |
| Methods inherited from class org.basex.core.Progress |
|---|
detail, header, progress, progress, stop, stopped |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryContext()
| Method Detail |
|---|
public abstract void compile(Nodes nodes)
throws EvalException
nodes - node context
EvalException - evaluation exception
public final void compInfo(java.lang.String string,
java.lang.Object... ext)
string - evaluation infoext - text text extensionspublic final java.lang.String det()
Progress
public abstract Result eval(Nodes nodes)
throws EvalException
nodes - initial context set
EvalException - evaluation exception
public final void evalInfo(java.lang.String string,
java.lang.Object... ext)
string - evaluation infoext - text text extensionspublic final java.lang.String head()
Progress
public final java.lang.String info()
public final double prog()
Progress
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||