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

#include <local_storage.h>

Public Types

enum class  NotExistAction { CREATE , RETURN_NULL }
 

Public Member Functions

 LocalStorage (main::ClientContext &clientContext)
 
 DELETE_COPY_AND_MOVE (LocalStorage)
 
LocalTablegetLocalTable (common::table_id_t tableID, NotExistAction action=NotExistAction::RETURN_NULL)
 
void commit ()
 
void rollback ()
 
uint64_t getEstimatedMemUsage () const
 

Member Enumeration Documentation

◆ NotExistAction

Enumerator
CREATE 
RETURN_NULL 

Constructor & Destructor Documentation

◆ LocalStorage()

kuzu::storage::LocalStorage::LocalStorage ( main::ClientContext & clientContext)
inlineexplicit

Member Function Documentation

◆ commit()

void kuzu::storage::LocalStorage::commit ( )

◆ DELETE_COPY_AND_MOVE()

kuzu::storage::LocalStorage::DELETE_COPY_AND_MOVE ( LocalStorage )

◆ getEstimatedMemUsage()

uint64_t kuzu::storage::LocalStorage::getEstimatedMemUsage ( ) const

◆ getLocalTable()

LocalTable * kuzu::storage::LocalStorage::getLocalTable ( common::table_id_t tableID,
NotExistAction action = NotExistAction::RETURN_NULL )

◆ rollback()

void kuzu::storage::LocalStorage::rollback ( )

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