Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::storage::GroupCollection< T > Class Template Reference

#include <group_collection.h>

Public Member Functions

 GroupCollection ()
 
common::UniqLock lock ()
 
void loadGroups (common::Deserializer &deSer)
 
void serializeGroups (common::Serializer &ser)
 
void appendGroup (const common::UniqLock &lock, std::unique_ptr< T > group)
 
T * getGroup (const common::UniqLock &lock, common::idx_t groupIdx)
 
T * getGroupNoLock (common::idx_t groupIdx)
 
void replaceGroup (const common::UniqLock &lock, common::idx_t groupIdx, std::unique_ptr< T > group)
 
void resize (const common::UniqLock &lock, common::idx_t newSize)
 
bool isEmpty (const common::UniqLock &lock)
 
common::idx_t getNumGroups (const common::UniqLock &lock) const
 
const std::vector< std::unique_ptr< T > > & getAllGroups (const common::UniqLock &lock)
 
std::unique_ptr< T > moveGroup (const common::UniqLock &lock, common::idx_t groupIdx)
 
T * getFirstGroup (const common::UniqLock &lock)
 
T * getFirstGroupNoLock ()
 
T * getLastGroup (const common::UniqLock &lock)
 
void clear (const common::UniqLock &lock)
 

Constructor & Destructor Documentation

◆ GroupCollection()

template<class T >
kuzu::storage::GroupCollection< T >::GroupCollection ( )
inline

Member Function Documentation

◆ appendGroup()

template<class T >
void kuzu::storage::GroupCollection< T >::appendGroup ( const common::UniqLock & lock,
std::unique_ptr< T > group )
inline

◆ clear()

template<class T >
void kuzu::storage::GroupCollection< T >::clear ( const common::UniqLock & lock)
inline

◆ getAllGroups()

template<class T >
const std::vector< std::unique_ptr< T > > & kuzu::storage::GroupCollection< T >::getAllGroups ( const common::UniqLock & lock)
inline

◆ getFirstGroup()

template<class T >
T * kuzu::storage::GroupCollection< T >::getFirstGroup ( const common::UniqLock & lock)
inline

◆ getFirstGroupNoLock()

template<class T >
T * kuzu::storage::GroupCollection< T >::getFirstGroupNoLock ( )
inline

◆ getGroup()

template<class T >
T * kuzu::storage::GroupCollection< T >::getGroup ( const common::UniqLock & lock,
common::idx_t groupIdx )
inline

◆ getGroupNoLock()

template<class T >
T * kuzu::storage::GroupCollection< T >::getGroupNoLock ( common::idx_t groupIdx)
inline

◆ getLastGroup()

template<class T >
T * kuzu::storage::GroupCollection< T >::getLastGroup ( const common::UniqLock & lock)
inline

◆ getNumGroups()

template<class T >
common::idx_t kuzu::storage::GroupCollection< T >::getNumGroups ( const common::UniqLock & lock) const
inline

◆ isEmpty()

template<class T >
bool kuzu::storage::GroupCollection< T >::isEmpty ( const common::UniqLock & lock)
inline

◆ loadGroups()

template<class T >
void kuzu::storage::GroupCollection< T >::loadGroups ( common::Deserializer & deSer)
inline

◆ lock()

template<class T >
common::UniqLock kuzu::storage::GroupCollection< T >::lock ( )
inline

◆ moveGroup()

template<class T >
std::unique_ptr< T > kuzu::storage::GroupCollection< T >::moveGroup ( const common::UniqLock & lock,
common::idx_t groupIdx )
inline

◆ replaceGroup()

template<class T >
void kuzu::storage::GroupCollection< T >::replaceGroup ( const common::UniqLock & lock,
common::idx_t groupIdx,
std::unique_ptr< T > group )
inline

◆ resize()

template<class T >
void kuzu::storage::GroupCollection< T >::resize ( const common::UniqLock & lock,
common::idx_t newSize )
inline

◆ serializeGroups()

template<class T >
void kuzu::storage::GroupCollection< T >::serializeGroups ( common::Serializer & ser)
inline

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