public class Twister2ArrowFileWriter extends java.lang.Object implements ITwister2ArrowFileWriter, java.io.Serializable
Constructor and Description |
---|
Twister2ArrowFileWriter(java.lang.String arrowfile,
boolean flag,
java.lang.String schema,
int parallelism) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
commitArrowData() |
void |
queueArrowData(java.lang.Object data) |
boolean |
setUpTwister2ArrowWrite(int workerId) |
public Twister2ArrowFileWriter(java.lang.String arrowfile, boolean flag, java.lang.String schema, int parallelism)
public boolean setUpTwister2ArrowWrite(int workerId) throws java.lang.Exception
setUpTwister2ArrowWrite
in interface ITwister2ArrowFileWriter
java.lang.Exception
public void queueArrowData(java.lang.Object data)
queueArrowData
in interface ITwister2ArrowFileWriter
public void commitArrowData() throws java.lang.Exception
commitArrowData
in interface ITwister2ArrowFileWriter
java.lang.Exception
public void close()