View Source arrow_ipc_file (arrow v0.1.0)
Provides records and functions to deal with the IPC File.
The IPC File[1] is an extension of the IPC Stream[2] that supports random access with the help of a footer which contains the offsets of all the messages.
[1]: https://arrow.apache.org/docs/format/Columnar.html#ipc-file-format [2]: https://arrow.apache.org/docs/format/Columnar.html#ipc-streaming-formatLink to this section Summary
Functions
Creates a file given a schema message and a list of record batch messages.
Serializes a file into the IPC File Format
Link to this section Functions
-spec from_erlang(Schema :: #message{}, RecordBatches :: [#message{}]) -> #file{}.
-spec to_ipc(File :: #file{}) -> SerializedFile :: binary().