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
| 32 | |
| 33 | |
| 34 | class 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 = """\ |