public class MapBasedSourceFunction<K,V> extends java.lang.Object implements SourceFunc<Tuple<K,V>>
Constructor and Description |
---|
MapBasedSourceFunction(java.lang.String listName,
java.lang.String mapName) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Weather we have more data
|
Tuple<K,V> |
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 MapBasedSourceFunction(java.lang.String listName, java.lang.String mapName)
public void prepare(TSetContext context)
TFunction
public boolean hasNext()
SourceFunc
hasNext
in interface SourceFunc<Tuple<K,V>>
public Tuple<K,V> next()
SourceFunc
next
in interface SourceFunc<Tuple<K,V>>