MCPcopy Create free account
hub / github.com/apache/arrow / RecordBatchStreamReader

Class RecordBatchStreamReader

python/pyarrow/ipc.py:34–52  ·  view source on GitHub ↗

Reader for the Arrow streaming binary format. Parameters ---------- source : bytes/buffer-like, pyarrow.NativeFile, or file-like Python object Either an in-memory buffer, or a readable file object. If you want to use memory map use MemoryMappedFile as source. op

Source from the content-addressed store, hash-verified

32
33
34class RecordBatchStreamReader(lib._RecordBatchStreamReader):
35 """
36 Reader for the Arrow streaming binary format.
37
38 Parameters
39 ----------
40 source : bytes/buffer-like, pyarrow.NativeFile, or file-like Python object
41 Either an in-memory buffer, or a readable file object.
42 If you want to use memory map use MemoryMappedFile as source.
43 options : pyarrow.ipc.IpcReadOptions
44 Options for IPC deserialization.
45 If None, default values will be used.
46 memory_pool : MemoryPool, default None
47 If None, default memory pool is used.
48 """
49
50 def __init__(self, source, *, options=None, memory_pool=None):
51 options = _ensure_default_ipc_read_options(options)
52 self._open(source, options=options, memory_pool=memory_pool)
53
54
55_ipc_writer_class_doc = """\

Callers 1

open_streamFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected