ArrowWriter
Save dataFrame content in Apache Arrow format (can be written to File, ByteArray, OutputStream or raw Channel) with targetSchema. If dataFrame content does not match targetSchema, the behaviour is specified by mode, and mismatches would be sent to mismatchSubscriber
Inheritors
Types
If restrictWidening is true, dataFrame columns not described in targetSchema would not be saved (otherwise, would be saved as is). If restrictNarrowing is true, targetSchema fields that are not nullable and do not exist in dataFrame will produce an exception (otherwise, would not be saved). If strictType is true, dataFrame columns described in targetSchema with non-compatible type will produce an exception (otherwise, would be saved as is). If strictNullable is true, targetSchema fields that are not nullable and contain nulls in dataFrame will produce an exception (otherwise, would be saved as is with nullable = true).
Functions
Create Arrow VectorSchemaRoot with dataFrame content cast to targetSchema according to the mode.
Save data to Arrow random access format, write to new ByteArray
Save data to Arrow interprocess streaming format, write to new ByteArray
Save data to Arrow random access format, write to new or existing file. If file exists, it would be recreated.
Save data to Arrow random access format, write to opened stream.
Save data to Arrow random access format, write to opened channel.
Save data to Arrow random access format, write to a new or existing file on the given path. If file on the given path exists, it would be recreated.
Save data to Arrow interprocess streaming format, write to opened stream.
Save data to Arrow interprocess streaming format, write to opened channel.
Save data to Arrow interprocess streaming format, write to new or existing file. If file exists, it can be recreated or expanded.
Save data to Arrow interprocess streaming format, write to a new or existing file on the given path. If file on the given path exists, it can be recreated or expanded.