pyarrow.plasma.ObjectID#

class pyarrow.plasma.ObjectID#

Bases: pyarrow.lib._Weakrefable

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

__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.