Class ArrowWriter<IN>
- java.lang.Object
-
- org.apache.flink.table.runtime.arrow.ArrowWriter<IN>
-
-
Constructor Summary
Constructors Constructor Description ArrowWriter(org.apache.arrow.vector.VectorSchemaRoot root, ArrowFieldWriter<IN>[] fieldWriters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finish()
Finishes the writing of the current row batch.ArrowFieldWriter<IN>[]
getFieldWriters()
Gets the field writers.void
reset()
Resets the state of the writer to write the next batch of rows.void
write(IN row)
Writes the specified row which is serialized into Arrow format.
-
-
-
Constructor Detail
-
ArrowWriter
public ArrowWriter(org.apache.arrow.vector.VectorSchemaRoot root, ArrowFieldWriter<IN>[] fieldWriters)
-
-
Method Detail
-
getFieldWriters
public ArrowFieldWriter<IN>[] getFieldWriters()
Gets the field writers.
-
write
public void write(IN row)
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.
-
-