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, waitclosepublic FileSource(FileInputPartitioner<T> input)
public boolean hasNext()
SourceFunchasNext in interface SourceFunc<T>public T next()
SourceFuncnext in interface SourceFunc<T>