[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/generated/../api/../generated/../api/files.html [Back]  [Original]

Streams and File Access — Apache Arrow v25.0.1
Back to top
Search the docs ...:

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.

input_stream(source[,compression,buffer_size])

Create an Arrow input stream.

output_stream(source[,compression,buffer_size])

Create an Arrow output stream.

memory_map(path[,mode])

Open memory map at file path.

create_memory_map(path,size)

Create a file of the given size and memory-map it.

Stream Classes#

NativeFile

The base class for all Arrow streams.

OSFile

A stream backed by a regular file descriptor.

PythonFile

A stream backed by a Python file object.

BufferReader(obj)

Zero-copy reader from objects convertible to Arrow buffer.

BufferOutputStream

An output stream that writes to a resizable buffer.

FixedSizeBufferWriter

A stream writing to a Arrow buffer.

MemoryMappedFile

A stream that represents a memory-mapped file.

CompressedInputStream(stream,strcompression)

An input stream wrapper which decompresses data on the fly.

CompressedOutputStream(stream,strcompression)

An output stream wrapper which compresses data on the fly.

File Systems#

See Filesystems.


Web Proxy Viewer  |  New URL  |  Original Page