Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::common::BufferBlock Struct Reference

#include <in_mem_overflow_buffer.h>

Public Member Functions

 BufferBlock (std::unique_ptr< storage::MemoryBuffer > block)
 
 ~BufferBlock ()
 
uint64_t size () const
 
uint8_t * data () const
 
void resetCurrentOffset ()
 

Public Attributes

uint64_t currentOffset
 
std::unique_ptr< storage::MemoryBuffer > block
 

Constructor & Destructor Documentation

◆ BufferBlock()

kuzu::common::BufferBlock::BufferBlock ( std::unique_ptr< storage::MemoryBuffer > block)
explicit

◆ ~BufferBlock()

kuzu::common::BufferBlock::~BufferBlock ( )

Member Function Documentation

◆ data()

uint8_t * kuzu::common::BufferBlock::data ( ) const

◆ resetCurrentOffset()

void kuzu::common::BufferBlock::resetCurrentOffset ( )
inline

◆ size()

uint64_t kuzu::common::BufferBlock::size ( ) const

Member Data Documentation

◆ block

std::unique_ptr<storage::MemoryBuffer> kuzu::common::BufferBlock::block

◆ currentOffset

uint64_t kuzu::common::BufferBlock::currentOffset

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