Struct parquet::arrow::arrow_writer::ArrowWriter[][src]

pub struct ArrowWriter<W: ParquetWriter> { /* fields omitted */ }
Expand description

Arrow writer

Writes Arrow RecordBatches to a Parquet writer

Implementations

Try to create a new Arrow writer

The writer will fail if:

  • a SerializedFileWriter cannot be created from the ParquetWriter
  • the Arrow schema contains unsupported datatypes such as Unions

Write a RecordBatch to writer

The writer will slice the batch into max_row_group_size, but if a batch has left-over rows less than the row group size, the last row group will have fewer records. This is currently a limitation because we close the row group instead of keeping it open for the next batch.

Close and finalize the underlying Parquet writer

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.