|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.xpath.XPOptimizer
public final class XPOptimizer
This class assembles optimization methods for the XPath parser.
Method Summary | |
---|---|
static void |
addText(Expr ex,
XPContext ctx)
Adds a text step to the specified path. |
static Expr[] |
getIndexExpr(Expr[] ex)
Checks if all path expressions are the same; if yes, a path has to be only evaluated once. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Expr[] getIndexExpr(Expr[] ex)
ex
- expression array
public static void addText(Expr ex, XPContext ctx)
ex
- location path expressionctx
- query context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |