public class FileSource<T> extends java.lang.Object implements SourceFunc<T>
Constructor and Description |
---|
FileSource(FileInputPartitioner<T> input) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Weather we have more data
|
T |
next()
Get the next value
|
void |
prepare(TSetContext context)
Prepare the function.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public FileSource(FileInputPartitioner<T> input)
public boolean hasNext()
SourceFunc
hasNext
in interface SourceFunc<T>
public T next()
SourceFunc
next
in interface SourceFunc<T>