public class ArrowBasedSourceFunction extends BaseSourceFunc<java.lang.Object> implements java.io.Serializable
Constructor and Description |
---|
ArrowBasedSourceFunction(java.lang.String arrowInputdirectory,
java.lang.String arrowinputFile,
int parallelism,
java.lang.String schema) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Weather we have more data
|
java.lang.Object |
next()
Get the next value
|
void |
prepare(TSetContext context)
Prepare method
|
getInput, getTSetContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public ArrowBasedSourceFunction(java.lang.String arrowInputdirectory, java.lang.String arrowinputFile, int parallelism, java.lang.String schema)
public void prepare(TSetContext context)
prepare
in interface TFunction<java.lang.Object,java.lang.Object>
prepare
in class BaseTFunction<java.lang.Object,java.lang.Object>
context
- CONTEXTpublic boolean hasNext()
SourceFunc
hasNext
in interface SourceFunc<java.lang.Object>
public java.lang.Object next()
SourceFunc
next
in interface SourceFunc<java.lang.Object>