ExArrow.IPC.Reader (ex_arrow v0.4.0)

View Source

IPC stream/file reader: read Arrow data from binary or file path.

Returns a stream of record batches (handles). Data remains in native memory.

Summary

Functions

Opens an IPC stream from binary data. Returns an ExArrow.Stream handle that yields record batches via ExArrow.Stream.next/1.

Opens an IPC stream from a file path.

Functions

from_binary(binary)

@spec from_binary(binary()) :: {:ok, ExArrow.Stream.t()} | {:error, String.t()}

Opens an IPC stream from binary data. Returns an ExArrow.Stream handle that yields record batches via ExArrow.Stream.next/1.

from_file(path)

@spec from_file(Path.t()) :: {:ok, ExArrow.Stream.t()} | {:error, String.t()}

Opens an IPC stream from a file path.