Top | ![]() |
![]() |
![]() |
![]() |
GPlasmaObjectID * | gplasma_object_id_new () |
const guint8 * | gplasma_object_id_to_binary () |
gchar * | gplasma_object_id_to_hex () |
gboolean | gplasma_created_object_seal () |
gboolean | gplasma_created_object_abort () |
gboolean | gplasma_referred_object_release () |
GPlasmaClient * | client | Read / Write / Construct Only |
GArrowBuffer * | data | Read / Write / Construct Only |
gint | gpu-device | Read / Write / Construct Only |
GPlasmaObjectID * | id | Read / Write / Construct Only |
GArrowBuffer * | metadata | Read / Write / Construct Only |
gpointer | raw-data | Write / Construct Only |
gpointer | raw-metadata | Write / Construct Only |
#define | GPLASMA_TYPE_OBJECT_ID |
struct | GPlasmaObjectIDClass |
#define | GPLASMA_TYPE_OBJECT |
struct | GPlasmaObjectClass |
#define | GPLASMA_TYPE_CREATED_OBJECT |
struct | GPlasmaCreatedObjectClass |
#define | GPLASMA_TYPE_REFERRED_OBJECT |
struct | GPlasmaReferredObjectClass |
GPlasmaCreatedObject | |
GPlasmaObject | |
GPlasmaObjectID | |
GPlasmaReferredObject |
GObject ├── GPlasmaObject │ ├── GPlasmaCreatedObject │ ├── GPlasmaReferredObject │ ╰── GPlasmaCreatedObject ╰── GPlasmaObjectID
GPlasmaObjectID is a class for an object ID.
GPlasmaObject is a base class for an object stored in plasma store.
GPlasmaCreatedObject is a class for a created object. You can change data of the object until the object is sealed or aborted.
GPlasmaReferredObject is a class for a created object. You can only refer the data and metadata of the object. You can't change the data of the object.
GPlasmaObjectID * gplasma_object_id_new (const guint8 *id
,gsize size
,GError **error
);
id |
The raw ID bytes. |
[array length=size] |
size |
The number of bytes of the ID. It must be 1..20. |
|
error |
Return location for a GError or |
[nullable] |
Since: 0.12.0
const guint8 * gplasma_object_id_to_binary (GPlasmaObjectID *id
,gsize *size
);
id |
||
size |
The number of bytes of the byte string of
the object ID. It's always 20. 20 is |
[nullable][out] |
Since: 0.12.0
gchar *
gplasma_object_id_to_hex (GPlasmaObjectID *id
);
The hex representation of the object ID.
It should be freed with g_free()
when no longer needed.
[transfer full]
Since: 0.12.0
gboolean gplasma_created_object_seal (GPlasmaCreatedObject *object
,GError **error
);
Seals the object in the object store. You can't use the sealed object anymore.
Since: 0.12.0
gboolean gplasma_created_object_abort (GPlasmaCreatedObject *object
,GError **error
);
Aborts the object in the object store. You can't use the aborted object anymore.
Since: 0.12.0
gboolean gplasma_referred_object_release (GPlasmaReferredObject *object
,GError **error
);
Releases the object explicitly. The object is no longer valid.
Since: 0.12.0
struct GPlasmaCreatedObjectClass { GPlasmaObjectClass parent_class; };
#define GPLASMA_TYPE_REFERRED_OBJECT (gplasma_referred_object_get_type())
struct GPlasmaReferredObjectClass { GPlasmaObjectClass parent_class; };
“data”
property“data” GArrowBuffer *
The data of this object.
Flags: Read / Write / Construct Only
“gpu-device”
property “gpu-device” gint
The GPU device number. -1 means GPU isn't used.
Flags: Read / Write / Construct Only
Allowed values: >= -1
Default value: -1
“id”
property“id” GPlasmaObjectID *
The ID of this object.
Flags: Read / Write / Construct Only
“metadata”
property“metadata” GArrowBuffer *
The metadata of this object.
Flags: Read / Write / Construct Only
“raw-data”
property “raw-data” gpointer
The raw data of this object.
Flags: Write / Construct Only