|
||||||||||
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.Single
org.basex.query.expr.IndexAccess
public final class IndexAccess
This index class retrieves texts and attribute values from the index.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
---|
Expr.Use |
Field Summary |
---|
Fields inherited from class org.basex.query.expr.Single |
---|
expr |
Constructor Summary | |
---|---|
IndexAccess(Expr e,
Data.Type t,
IndexContext ic)
Constructor. |
Method Summary | |
---|---|
String |
color()
Returns a color string for the expression. |
boolean |
duplicates(QueryContext ctx)
Returns true if the expression might yield duplicates and unsorted results. |
Iter |
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. |
String |
toString()
|
Methods inherited from class org.basex.query.expr.Single |
---|
comp, remove, uses |
Methods inherited from class org.basex.query.expr.Expr |
---|
addText, atomic, checkCtx, checkDbl, checkItr, e, ebv, i, indexAccessible, indexEquivalent, removable, 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 |
Constructor Detail |
---|
public IndexAccess(Expr e, Data.Type t, IndexContext ic)
e
- index expressiont
- access typeic
- index contextMethod Detail |
---|
public Iter 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 Return returned(QueryContext ctx)
Expr
returned
in class Expr
ctx
- query context
public boolean duplicates(QueryContext ctx)
Expr
duplicates
in class Expr
ctx
- query context
public boolean sameAs(Expr cmp)
Expr
sameAs
in class Expr
cmp
- expression to be compared
public String color()
ExprInfo
color
in class ExprInfo
public void plan(Serializer ser) throws IOException
ExprInfo
plan
in class Single
ser
- serializer
IOException
- I/O exceptionpublic String toString()
toString
in class ExprInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |