|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcascading.tap.hadoop.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 java.io.IOException
java.io.IOException
- whenMethod Detail |
---|
public boolean hasNext()
Tuple
instances available.
hasNext
in interface java.util.Iterator<RecordReader>
public RecordReader next()
Tuple
.
next
in interface java.util.Iterator<RecordReader>
public void remove()
remove
in interface java.util.Iterator<RecordReader>
public void close() throws java.io.IOException
close
in interface java.io.Closeable
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |