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, wait
close
public ListBasedSourceFunction(java.lang.String listName)
public void prepare(TSetContext context)
TFunction
public boolean hasNext()
SourceFunc
hasNext
in interface SourceFunc<T>
public T next()
SourceFunc
next
in interface SourceFunc<T>