|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.ExprInfo
org.basex.query.expr.Expr
org.basex.query.expr.Preds
org.basex.query.path.Step
public class Step
Location Step expression.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
---|
Expr.Use |
Field Summary | |
---|---|
Axis |
axis
Axis. |
Test |
test
Node test. |
Fields inherited from class org.basex.query.expr.Preds |
---|
pred |
Method Summary | |
---|---|
Expr |
comp(QueryContext ctx)
Optimizes and compiles the expression. |
static Step |
get(Axis a,
Test t,
Expr... p)
This method creates a step instance. |
NodeIter |
iter(QueryContext ctx)
Evaluates the expression and returns an iterator on the resulting items. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
Return |
returned(QueryContext ctx)
Indicates the return type of an expression. |
boolean |
sameAs(Expr cmp)
Checks the current and specified expression for equality. |
boolean |
simple(Axis ax,
boolean name)
Checks if this is a simple axis without predicates. |
String |
toString()
|
Methods inherited from class org.basex.query.expr.Preds |
---|
color, removable, remove, uses |
Methods inherited from class org.basex.query.expr.Expr |
---|
addText, atomic, checkCtx, checkDbl, checkItr, duplicates, e, ebv, i, indexAccessible, indexEquivalent, size, test, v |
Methods inherited from class org.basex.query.ExprInfo |
---|
info, name |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Axis axis
public Test test
Method Detail |
---|
public static Step get(Axis a, Test t, Expr... p)
a
- axist
- node testp
- predicates
public Expr comp(QueryContext ctx) throws QueryException
Expr
comp
in class Preds
ctx
- query context
QueryException
- query exceptionpublic NodeIter iter(QueryContext ctx) throws QueryException
Expr
Expr.atomic(org.basex.query.QueryContext)
must be implemented.
iter
in class Expr
ctx
- query context
QueryException
- query exceptionpublic final boolean simple(Axis ax, boolean name)
ax
- axis to be checkedname
- name/node test
public final boolean sameAs(Expr cmp)
Expr
sameAs
in class Expr
cmp
- expression to be compared
public final Return returned(QueryContext ctx)
Expr
returned
in class Expr
ctx
- query context
public final void plan(Serializer ser) throws IOException
ExprInfo
plan
in class Preds
ser
- serializer
IOException
- I/O exceptionpublic final String toString()
toString
in class Preds
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |