yggdrasil.pickle.ser.pyarrow¶
pyarrow ¶
ArrowSerialized
dataclass
¶
Bases: Serialized[TArrow], Generic[TArrow]
decode_arrow_buffer ¶
Return payload as a pyarrow.Buffer suitable for Arrow IPC reads.
This is only truly zero-copy when: - self.codec == CODEC_NONE - the underlying Serialized payload can be exposed without materializing a new Python bytes object.
With the current base Serialized API, we can only guarantee the IPC read side is Arrow-native; true end-to-end zero-copy may still require a base layer hook that exposes the raw payload buffer directly.
module_and_name
staticmethod
¶
Return (module, qualname) for obj.
Robust across Python objects, including many C-extension / PyArrow objects where module may be missing or misleading.