pyarrow.plasma.ObjectID

class pyarrow.plasma.ObjectID

Bases: pyarrow.lib._Weakrefable

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

__init__()

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

Methods

__init__()

Initialize self.

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.