|
||||||||||
| 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.Arr
public abstract class Arr
Abstract array expression.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
|---|
Expr.Use |
| Field Summary | |
|---|---|
Expr[] |
expr
Expression list. |
| Method Summary | |
|---|---|
Expr |
comp(QueryContext ctx)
Optimizes and compiles the expression. |
boolean |
duplicates(QueryContext ctx)
Returns true if the expression might yield duplicates and unsorted results. |
Expr |
indexEquivalent(IndexContext ic)
Returns an equivalent expression which accesses an index structure. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
boolean |
removable(Var v,
QueryContext ctx)
Checks if the specified variable is removable. |
Expr |
remove(Var v)
Removes the specified variable in a sub expression. |
boolean |
uses(Expr.Use u,
QueryContext ctx)
Indicates if an expression uses the specified type. |
| Methods inherited from class org.basex.query.expr.Expr |
|---|
addText, atomic, checkCtx, checkDbl, checkItr, e, ebv, i, indexAccessible, iter, returned, sameAs, size, test, v |
| Methods inherited from class org.basex.query.ExprInfo |
|---|
color, info, name, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Expr[] expr
| Method Detail |
|---|
public Expr comp(QueryContext ctx)
throws QueryException
Expr
comp in class Exprctx - query context
QueryException - query exception
public boolean uses(Expr.Use u,
QueryContext ctx)
Exprtrue is returned by default and thus assumed as "worst-case".
uses in class Expru - use type to be checkedctx - query context
public boolean removable(Var v,
QueryContext ctx)
Expr
removable in class Exprv - variable to be removedctx - query context
public Expr remove(Var v)
Expr
remove in class Exprv - variable to be removed
public Expr indexEquivalent(IndexContext ic)
throws QueryException
ExprExpr.indexAccessible(org.basex.query.IndexContext) is implemented for an
expression.
indexEquivalent in class Expric - index context
QueryException - query exceptionpublic boolean duplicates(QueryContext ctx)
Expr
duplicates in class Exprctx - query context
public void plan(Serializer ser)
throws IOException
ExprInfo
plan in class ExprInfoser - serializer
IOException - I/O exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||