|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cascading.tap.hadoop.TapIterator
public class TapIterator
Class TapIterator is an implementation of TupleIterator
. It is returned by Tap
instances when
opening the taps resource for reading.
Constructor Summary | |
---|---|
TapIterator(Tap tap,
JobConf conf)
Constructor TapIterator creates a new TapIterator instance. |
Method Summary | |
---|---|
void |
close()
|
boolean |
hasNext()
Method hasNext returns true if there more Tuple instances available. |
Tuple |
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 TapIterator(Tap tap, JobConf conf) throws IOException
conf
- of type JobConf
IOException
- whenMethod Detail |
---|
public boolean hasNext()
Tuple
instances available.
hasNext
in interface Iterator<Tuple>
public Tuple next()
Tuple
.
next
in interface Iterator<Tuple>
public void remove()
remove
in interface Iterator<Tuple>
public void close()
close
in interface TupleIterator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |