Streams and File Access¶
Factory Functions¶
These factory functions are the recommended way to create a Arrow stream. They accept various kinds of sources, such as in-memory buffers or on-disk files.
|
Create an Arrow input stream. |
|
Create an Arrow output stream. |
|
Open memory map at file path. |
|
Create a file of the given size and memory-map it. |
Stream Classes¶
The base class for all Arrow streams. |
|
A stream backed by a regular file descriptor. |
|
A stream backed by a Python file object. |
|
Zero-copy reader from objects convertible to Arrow buffer. |
|
A stream writing to a Arrow buffer. |
|
A stream that represents a memory-mapped file. |
|
|
An input stream wrapper which decompresses data on the fly. |
|
An output stream wrapper which compresses data on the fly. |
File Systems¶
|
DEPRECATED: Connect to an HDFS cluster. |
-
class
pyarrow.
HadoopFileSystem
[source]