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, waitclosepublic void prepare(TSetContext ctx)
TFunctionpublic boolean hasNext()
SourceFunchasNext in interface SourceFunc<I>public I next()
SourceFuncnext in interface SourceFunc<I>