pyarrow.flight.FlightDescriptor

class pyarrow.flight.FlightDescriptor

Bases: pyarrow.lib._Weakrefable

A description of a data stream available from a Flight service.

__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(*args, **kwargs)

Initialize self.

deserialize(type cls, serialized)

Parse the wire-format representation of this type.

for_command(command)

Create a FlightDescriptor for an opaque command.

for_path(*path)

Create a FlightDescriptor for a resource path.

serialize(self)

Get the wire-format representation of this type.

Attributes

command

Get the command for this descriptor.

descriptor_type

Get the type of this descriptor.

path

Get the path for this descriptor.

command

Get the command for this descriptor.

descriptor_type

Get the type of this descriptor.

deserialize(type 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.

static for_command(command)

Create a FlightDescriptor for an opaque command.

static for_path(*path)

Create a FlightDescriptor for a resource path.

path

Get the path for this descriptor.

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.