public class TextBasedSourceFunction extends BaseSourceFunc<java.lang.String>
| Constructor and Description |
|---|
TextBasedSourceFunction(java.lang.String dataInputdirectory,
int datasize,
int parallelism,
java.lang.String type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Weather we have more data
|
java.lang.String |
next()
Get the next value
|
void |
prepare(TSetContext context)
Prepare the function.
|
getInput, getTSetContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic TextBasedSourceFunction(java.lang.String dataInputdirectory,
int datasize,
int parallelism,
java.lang.String type)
public void prepare(TSetContext context)
TFunctionprepare in interface TFunction<java.lang.String,java.lang.String>prepare in class BaseTFunction<java.lang.String,java.lang.String>context - CONTEXTpublic boolean hasNext()
SourceFuncpublic java.lang.String next()
SourceFunc