|
||||||||||
| 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
org.basex.query.xpath.XPContext
public final class XPContext
Query context.
| Field Summary | |
|---|---|
int |
ftcount
Count number of xpath fulltext query tokens. |
FTTokenizer |
ftitem
Current fulltext item. |
FTPosFilter |
ftpos
Current fulltext position filter. |
Nod |
item
Data reference. |
boolean |
iu
Flag for fulltext index use. |
boolean |
leaf
Leaf flag. |
| Fields inherited from class org.basex.query.QueryContext |
|---|
file, PLAN, query |
| Constructor Summary | |
|---|---|
XPContext(Expr expr,
java.lang.String qu)
Constructor. |
|
| Method Summary | |
|---|---|
XPContext |
compile(Nodes n)
Optimizes the expression. |
Item |
eval(Expr e)
Evaluates the expression with the specified context set. |
Result |
eval(Nodes nodes)
Evaluates the expression with the specified context set. |
void |
plan(Serializer ser)
Recursively serializes the query plan. |
| Methods inherited from class org.basex.query.QueryContext |
|---|
compInfo, det, evalInfo, info, planDot, planXML, prog, tit |
| Methods inherited from class org.basex.core.Progress |
|---|
checkStop, detail, progress, progress, stop, title |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Nod item
public boolean leaf
public int ftcount
public FTTokenizer ftitem
public FTPosFilter ftpos
public boolean iu
| Constructor Detail |
|---|
public XPContext(Expr expr,
java.lang.String qu)
expr - root expressionqu - input query| Method Detail |
|---|
public XPContext compile(Nodes n)
throws QueryException
QueryContext
n - node context
QueryException - query exception
public Result eval(Nodes nodes)
throws QueryException
QueryContext
nodes - initial context set
QueryException - query exception
public void plan(Serializer ser)
throws java.lang.Exception
QueryContext
ser - serializer
java.lang.Exception - exception
public Item eval(Expr e)
throws QueryException
e - current expression
QueryException - evaluation exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||