pyarrow.Message¶
-
class
pyarrow.Message¶ Bases:
objectContainer for an Arrow IPC message with metadata and optional body
-
__init__()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
equals(self, Message other)Returns True if the message contents (metadata and body) are identical serialize(self[, alignment, memory_pool])Write message as encapsulated IPC message Attributes
bodymetadatatype-
body¶
-
equals(self, Message other)¶ Returns True if the message contents (metadata and body) are identical
Parameters: other (Message) – Returns: are_equal (bool)
-
metadata¶
-
serialize(self, alignment=8, memory_pool=None)¶ Write message as encapsulated IPC message
Parameters: - alignment (int, default 8) – Byte alignment for metadata and body
- memory_pool (MemoryPool, default None) – Uses default memory pool if not specified
Returns: serialized (Buffer)
-
type¶
-