pyarrow.flight.ActionType¶
-
class
pyarrow.flight.ActionType(type, description)¶ Bases:
importlib._bootstrap._ActionTypeA type of action that is executable on a Flight service.
-
__init__()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__()Initialize self.
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
make_action(self, buf)Create an Action with this type.
Attributes
Alias for field number 1
Alias for field number 0
-
count(value, /)¶ Return number of occurrences of value.
-
description¶ Alias for field number 1
-
index(value, start=0, stop=9223372036854775807, /)¶ Return first index of value.
Raises ValueError if the value is not present.
-
make_action(self, buf)¶ Create an Action with this type.
- Parameters
buf (obj) – An Arrow buffer or Python bytes or bytes-like object.
-
type¶ Alias for field number 0
-