Class ArrowWriter<IN>
java.lang.Object
org.apache.flink.table.runtime.arrow.ArrowWriter<IN>
- Type Parameters:
IN- Type of the row to write.
Writer which serializes the Flink rows to Arrow format.
-
Constructor Summary
ConstructorsConstructorDescriptionArrowWriter(org.apache.arrow.vector.VectorSchemaRoot root, ArrowFieldWriter<IN>[] fieldWriters) -
Method Summary
-
Constructor Details
-
ArrowWriter
public ArrowWriter(org.apache.arrow.vector.VectorSchemaRoot root, ArrowFieldWriter<IN>[] fieldWriters)
-
-
Method Details
-
getFieldWriters
Gets the field writers. -
write
Writes the specified row which is serialized into Arrow format. -
finish
public void finish()Finishes the writing of the current row batch. -
reset
public void reset()Resets the state of the writer to write the next batch of rows.
-