.. default-domain:: cpp.. doxygenstruct:: arrow::ipc::IpcReadOptions
:members:
.. doxygenstruct:: arrow::ipc::IpcWriteOptions
:members:
Use either of these two classes, depending on which IPC format you want to read. The file format requires a random-access file, while the stream format only requires a sequential input stream.
.. doxygenclass:: arrow::ipc::RecordBatchStreamReader
:members:
.. doxygenclass:: arrow::ipc::RecordBatchFileReader
:members:
To read an IPC stream in event-driven fashion, you must implement a :class:`~arrow::ipc::Listener` subclass that you will pass to :class:`~arrow::ipc::StreamDecoder`.
.. doxygenclass:: arrow::ipc::Listener
:members:
.. doxygenclass:: arrow::ipc::StreamDecoder
:members:
.. doxygenstruct:: arrow::ipc::ReadStats
:members:
The IPC stream format is only optionally terminated, whereas the IPC file format must include a terminating footer. Thus a writer of the IPC file format must be explicitly finalized with :func:`~arrow::ipc::RecordBatchWriter::Close()` or the resulting file will be corrupt.
.. doxygengroup:: record-batch-writer-factories
:content-only:
.. doxygenclass:: arrow::ipc::RecordBatchWriter
:members:
.. doxygenstruct:: arrow::ipc::WriteStats
:members: