|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcascading.tap.hadoop.io.MultiRecordReaderIterator
public class MultiRecordReaderIterator
Class TapIterator is an implementation of CloseableIterator
. It is returned by Tap
instances when
opening the taps resource for reading.
Constructor Summary | |
---|---|
MultiRecordReaderIterator(FlowProcess<JobConf> flowProcess,
Tap tap)
Constructor TapIterator creates a new TapIterator instance. |
Method Summary | |
---|---|
void |
close()
|
boolean |
hasNext()
Method hasNext returns true if there more Tuple instances available. |
RecordReader |
next()
Method next returns the next Tuple . |
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiRecordReaderIterator(FlowProcess<JobConf> flowProcess, Tap tap) throws IOException
IOException
- whenMethod Detail |
---|
public boolean hasNext()
Tuple
instances available.
hasNext
in interface Iterator<RecordReader>
public RecordReader next()
Tuple
.
next
in interface Iterator<RecordReader>
public void remove()
remove
in interface Iterator<RecordReader>
public void close() throws IOException
close
in interface Closeable
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |