pyarrow.flight.Result#

class pyarrow.flight.Result(buf)#

Bases: _Weakrefable

A result from executing an Action.

__init__()#

Create a new result.

Parameters:
bufBuffer or bytes-like object

Methods

__init__

Create a new result.

deserialize(cls, serialized)

Parse the wire-format representation of this type.

serialize(self)

Get the wire-format representation of this type.

Attributes

body

Get the Buffer containing the result.

body#

Get the Buffer containing the result.

classmethod deserialize(cls, serialized)#

Parse the wire-format representation of this type.

Useful when interoperating with non-Flight systems (e.g. REST services) that may want to return Flight types.

serialize(self)#

Get the wire-format representation of this type.

Useful when interoperating with non-Flight systems (e.g. REST services) that may want to return Flight types.