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

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...
 
int64_t data_size
 Size of the object in bytes. More...
 
int64_t metadata_size
 Size of the object metadata in bytes. More...
 
int ref_count
 Number of clients currently using this object. More...
 
ObjectState 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

◆ data_size

int64_t plasma::ObjectTableEntry::data_size

Size of the object in bytes.

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

◆ map_size

int64_t plasma::ObjectTableEntry::map_size

Size of the underlying map.

◆ metadata_size

int64_t plasma::ObjectTableEntry::metadata_size

Size of the object metadata in bytes.

◆ 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

ObjectState 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: