ParquetFileWriter class
This class enables you to interact with Parquet files. class
The ParquetFileWriter$create()
factory method instantiates the object and takes the following arguments:
schema
A Schemasink
An arrow::io::OutputStreamproperties
An instance of ParquetWriterPropertiesarrow_properties
An instance of ParquetArrowWriterProperties
WriteTable
Write a Table to sink
WriteBatch
Write a RecordBatch to sink
Close
Close the writer. Note: does not close the sink
. arrow::io::OutputStream has its own close()
method.Useful links