Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.
Public Member Functions | Public Attributes | List of all members
plasma::ObjectTableEntry Struct Reference

This type is used by the Plasma store. More...

#include <plasma/plasma.h>

Public Member Functions

 ObjectTableEntry ()
 
 ~ObjectTableEntry ()
 

Public Attributes

ObjectID object_id
 Object id of this object. More...
 
ObjectInfoT info
 Object info like size, creation time and owner. More...
 
int fd
 Memory mapped file containing the object. More...
 
int device_num
 Device number. More...
 
int64_t map_size
 Size of the underlying map. More...
 
ptrdiff_t offset
 Offset from the base of the mmap. More...
 
uint8_t * pointer
 Pointer to the object data. Needed to free the object. More...
 
int ref_count
 Number of clients currently using this object. More...
 
object_state state
 The state of the object, e.g., whether it is open or sealed. More...
 
unsigned char digest [kDigestSize]
 The digest of the object. Used to see if two objects are the same. More...
 

Detailed Description

This type is used by the Plasma store.

It is here because it is exposed to the eviction policy.

Constructor & Destructor Documentation

◆ ObjectTableEntry()

plasma::ObjectTableEntry::ObjectTableEntry ( )

◆ ~ObjectTableEntry()

plasma::ObjectTableEntry::~ObjectTableEntry ( )

Member Data Documentation

◆ device_num

int plasma::ObjectTableEntry::device_num

Device number.

◆ digest

unsigned char plasma::ObjectTableEntry::digest[kDigestSize]

The digest of the object. Used to see if two objects are the same.

◆ fd

int plasma::ObjectTableEntry::fd

Memory mapped file containing the object.

◆ info

ObjectInfoT plasma::ObjectTableEntry::info

Object info like size, creation time and owner.

◆ map_size

int64_t plasma::ObjectTableEntry::map_size

Size of the underlying map.

◆ object_id

ObjectID plasma::ObjectTableEntry::object_id

Object id of this object.

◆ offset

ptrdiff_t plasma::ObjectTableEntry::offset

Offset from the base of the mmap.

◆ pointer

uint8_t* plasma::ObjectTableEntry::pointer

Pointer to the object data. Needed to free the object.

◆ ref_count

int plasma::ObjectTableEntry::ref_count

Number of clients currently using this object.

◆ state

object_state plasma::ObjectTableEntry::state

The state of the object, e.g., whether it is open or sealed.


The documentation for this struct was generated from the following file: