|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cascading.tuple.TupleEntryIterator cascading.tuple.TupleEntryChainIterator
public class TupleEntryChainIterator
TupleEntryChainIterator chains the given Iterators into a single Iterator.
As one iterator is completed, it will be closed and a new one will start.
Constructor Summary | |
---|---|
TupleEntryChainIterator(Fields fields,
Iterator<Tuple>... iterators)
|
Method Summary | |
---|---|
void |
close()
Method close closes all underlying resources. |
protected void |
closeCurrent()
|
boolean |
hasNext()
Method hasNext returns true if there is a next TupleEntry |
TupleEntry |
next()
Method next returns the next TupleEntry. |
void |
remove()
Method remove removes the current TupleEntry from the underlying collection. |
void |
reset(Iterator<Tuple>... iterators)
|
Methods inherited from class cascading.tuple.TupleEntryIterator |
---|
getFields, getTupleEntry |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TupleEntryChainIterator(Fields fields, Iterator<Tuple>... iterators)
Method Detail |
---|
public boolean hasNext()
public void reset(Iterator<Tuple>... iterators)
public TupleEntry next()
public void remove()
public void close()
protected void closeCurrent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |