|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.query.xquery.iter.Iter
public abstract class Iter
Iterator interface.
| Field Summary | |
|---|---|
static Iter |
EMPTY
Empty iterator. |
| Constructor Summary | |
|---|---|
Iter()
|
|
| Method Summary | |
|---|---|
Item |
atomic(Expr expr,
boolean empty)
Checks if the specified iterator contains a single item. |
Item |
ebv()
Checks if the iterator can be dissolved into an effective boolean value. |
Item |
finish()
Returns a sequence from all iterator values. |
abstract Item |
next()
Returns the next item or null if no other items are found. |
void |
reset()
Resets the iterator; can be optionally implemented. |
static void |
seqErr(Item i1,
Item i2,
Item i3,
Expr expr)
Throws a sequence error. |
long |
size()
Returns the number of entries. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Iter EMPTY
| Constructor Detail |
|---|
public Iter()
| Method Detail |
|---|
public abstract Item next()
throws XQException
XQException - evaluation exceptionpublic void reset()
public long size()
public Item finish()
throws XQException
XQException - evaluation exception
public final Item ebv()
throws XQException
next() was called.
XQException - evaluation exception
public final Item atomic(Expr expr,
boolean empty)
throws XQException
expr - calling expressionempty - allow empty sequences
XQException - evaluation exception
public static void seqErr(Item i1,
Item i2,
Item i3,
Expr expr)
throws XQException
i1 - first itemi2 - first itemi3 - first itemexpr - expression
XQException - evaluation exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||