public class TupleEntryIterableChainIterator extends TupleEntryIterator
As one iterator is completed, it will be closed and a new one will start.
Constructor and Description |
---|
TupleEntryIterableChainIterator(Fields fields) |
TupleEntryIterableChainIterator(Fields fields,
java.lang.Iterable<java.util.Iterator<Tuple>> iterable) |
Modifier and Type | Method and Description |
---|---|
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(java.lang.Iterable<java.util.Iterator<Tuple>> iterable) |
getFields, getTupleEntry
public TupleEntryIterableChainIterator(Fields fields)
public TupleEntryIterableChainIterator(Fields fields, java.lang.Iterable<java.util.Iterator<Tuple>> iterable)
public boolean hasNext()
public TupleEntry next()
public void remove()
public void close()
protected void closeCurrent()
Copyright © 2007-2017 Cascading Maintainers. All Rights Reserved.