|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cascading.tuple.TupleEntryIterator
public class TupleEntryIterator
Class TupleEntryIterator provides an efficient Iterator for returning TupleEntry
elements in an
underlying Tuple
collection.
Constructor Summary | |
---|---|
TupleEntryIterator(Fields fields,
Iterator... iterators)
Constructor TupleEntryIterator creates a new TupleEntryIterator instance. |
Method Summary | |
---|---|
void |
close()
Method close closes all underlying resources. |
Fields |
getFields()
Method getFields returns the fields of this TupleEntryIterator object. |
TupleEntry |
getTupleEntry()
Method getTupleEntry returns the entry of this TupleEntryIterator object. |
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 TypleEntry from the underlying collection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TupleEntryIterator(Fields fields, Iterator... iterators)
fields
- of type Fieldsiterators
- of type IteratorMethod Detail |
---|
public Fields getFields()
public TupleEntry getTupleEntry()
next()
call.
public boolean hasNext()
hasNext
in interface Iterator<TupleEntry>
public TupleEntry next()
next
in interface Iterator<TupleEntry>
public void remove()
remove
in interface Iterator<TupleEntry>
public void close()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |