|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eigenbase.runtime.AbstractTupleIter
org.eigenbase.runtime.CompoundTupleIter.Test.BoxTupleIter
static class CompoundTupleIter.Test.BoxTupleIter
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eigenbase.runtime.TupleIter |
|---|
TupleIter.NoDataReason, TupleIter.TimeoutException |
| Field Summary | |
|---|---|
(package private) TupleIter |
base
|
(package private) CompoundTupleIter.Test.Box |
box
|
| Fields inherited from interface org.eigenbase.runtime.TupleIter |
|---|
EMPTY_ITERATOR |
| Constructor Summary | |
|---|---|
CompoundTupleIter.Test.BoxTupleIter(TupleIter base)
|
|
| Method Summary | |
|---|---|
void |
closeAllocation()
Closes this object. |
Object |
fetchNext()
Returns the next element in the iteration. |
void |
restart()
Restarts this iterator, so that a subsequent call to TupleIter.fetchNext() returns the first element in the collection being
iterated. |
| Methods inherited from class org.eigenbase.runtime.AbstractTupleIter |
|---|
setTimeout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
TupleIter base
CompoundTupleIter.Test.Box box
| Constructor Detail |
|---|
public CompoundTupleIter.Test.BoxTupleIter(TupleIter base)
| Method Detail |
|---|
public Object fetchNext()
TupleIterTupleIter.NoDataReason enumeration indicating why
no data was returned.
If this method returns TupleIter.NoDataReason.END_OF_DATA, no further
data will be returned by this iterator unless TupleIter.restart()
is called.
If this method returns TupleIter.NoDataReason.UNDERFLOW, no data is
currently available, but may be come available in the future. It is
possible for consecutive calls to return UNDERFLOW and then END_OF_DATA.
The object returned by this method may be re-used for each subsequent
call to fetchNext(). In other words, callers must either
make certain that the returned value is no longer needed or is copied
before any subsequent calls to fetchNext().
TupleIter.NoDataReason.public void restart()
TupleIterTupleIter.fetchNext() returns the first element in the collection being
iterated.
restart in interface TupleIterrestart in class AbstractTupleIterpublic void closeAllocation()
ClosableAllocation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||