pyarrow.plasma.ObjectID

class pyarrow.plasma.ObjectID

Bases: _Weakrefable

DEPRECATED: An ObjectID represents a string of bytes used to identify Plasma objects.

Deprecated since version 10.0.0: Plasma is deprecated since Arrow 10.0.0. It will be removed in 12.0.0 or so.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

binary(self)

Return the binary representation of this ObjectID.

from_random()

Returns a randomly generated ObjectID.

binary(self)

Return the binary representation of this ObjectID.

Returns:
bytes

Binary representation of the ObjectID.

static from_random()

Returns a randomly generated ObjectID.

Returns:
ObjectID

A randomly generated ObjectID.