K
- KeyV
- ValueF
- InputFormatI
- Outputpublic class HadoopSourceWithMap<K,V,F extends <any>,I> extends java.lang.Object implements SourceFunc<I>
Constructor and Description |
---|
HadoopSourceWithMap(Configuration conf,
java.lang.Class<F> inputClazz,
MapFunc<I,Tuple<K,V>> mapFunc) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Weather we have more data
|
I |
next()
Get the next value
|
void |
prepare(TSetContext ctx)
Prepare the function.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public void prepare(TSetContext ctx)
TFunction
public boolean hasNext()
SourceFunc
hasNext
in interface SourceFunc<I>
public I next()
SourceFunc
next
in interface SourceFunc<I>