public class ListBasedSourceFunction<T> extends java.lang.Object implements SourceFunc<T>
| Constructor and Description |
|---|
ListBasedSourceFunction(java.lang.String listName) |
| 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 ListBasedSourceFunction(java.lang.String listName)
public void prepare(TSetContext context)
TFunctionpublic boolean hasNext()
SourceFunchasNext in interface SourceFunc<T>public T next()
SourceFuncnext in interface SourceFunc<T>