Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::storage::UndoMemoryBuffer Class Reference

#include <undo_buffer.h>

Public Member Functions

 UndoMemoryBuffer (uint64_t size)
 
uint8_t * getDataUnsafe () const
 
uint8_t const * getData () const
 
uint64_t getSize () const
 
uint64_t getCurrentPosition () const
 
void moveCurrentPosition (uint64_t offset)
 
bool canFit (uint64_t size_) const
 

Static Public Attributes

static constexpr uint64_t UNDO_MEMORY_BUFFER_SIZE = common::BufferPoolConstants::PAGE_4KB_SIZE
 

Constructor & Destructor Documentation

◆ UndoMemoryBuffer()

kuzu::storage::UndoMemoryBuffer::UndoMemoryBuffer ( uint64_t size)
inlineexplicit

Member Function Documentation

◆ canFit()

bool kuzu::storage::UndoMemoryBuffer::canFit ( uint64_t size_) const
inline

◆ getCurrentPosition()

uint64_t kuzu::storage::UndoMemoryBuffer::getCurrentPosition ( ) const
inline

◆ getData()

uint8_t const * kuzu::storage::UndoMemoryBuffer::getData ( ) const
inline

◆ getDataUnsafe()

uint8_t * kuzu::storage::UndoMemoryBuffer::getDataUnsafe ( ) const
inline

◆ getSize()

uint64_t kuzu::storage::UndoMemoryBuffer::getSize ( ) const
inline

◆ moveCurrentPosition()

void kuzu::storage::UndoMemoryBuffer::moveCurrentPosition ( uint64_t offset)
inline

Member Data Documentation

◆ UNDO_MEMORY_BUFFER_SIZE

uint64_t kuzu::storage::UndoMemoryBuffer::UNDO_MEMORY_BUFFER_SIZE = common::BufferPoolConstants::PAGE_4KB_SIZE
staticconstexpr

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