Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::common::SelectionVector Class Reference

#include <sel_vector.h>

Public Member Functions

 SelectionVector (sel_t capacity)
 
 SelectionVector ()
 
bool isUnfiltered () const
 
void setToUnfiltered ()
 
void setToUnfiltered (sel_t size)
 
void setRange (sel_t startPos, sel_t size)
 
void setToFiltered ()
 
void setToFiltered (sel_t size)
 
void makeDynamic ()
 
std::span< sel_tgetMutableBuffer () const
 
std::span< const sel_tgetSelectedPositions () const
 
template<class Func >
void forEach (Func &&func) const
 
sel_t getSelSize () const
 
void setSelSize (sel_t size)
 
void incrementSelSize (sel_t increment=1)
 
sel_t operator[] (sel_t index) const
 
sel_toperator[] (sel_t index)
 

Constructor & Destructor Documentation

◆ SelectionVector() [1/2]

kuzu::common::SelectionVector::SelectionVector ( sel_t capacity)
inlineexplicit

◆ SelectionVector() [2/2]

kuzu::common::SelectionVector::SelectionVector ( )
inline

Member Function Documentation

◆ forEach()

template<class Func >
void kuzu::common::SelectionVector::forEach ( Func && func) const
inline

◆ getMutableBuffer()

std::span< sel_t > kuzu::common::SelectionVector::getMutableBuffer ( ) const
inline

◆ getSelectedPositions()

std::span< const sel_t > kuzu::common::SelectionVector::getSelectedPositions ( ) const
inline

◆ getSelSize()

sel_t kuzu::common::SelectionVector::getSelSize ( ) const
inline

◆ incrementSelSize()

void kuzu::common::SelectionVector::incrementSelSize ( sel_t increment = 1)
inline

◆ isUnfiltered()

bool kuzu::common::SelectionVector::isUnfiltered ( ) const
inline

◆ makeDynamic()

void kuzu::common::SelectionVector::makeDynamic ( )
inline

◆ operator[]() [1/2]

sel_t & kuzu::common::SelectionVector::operator[] ( sel_t index)
inline

◆ operator[]() [2/2]

sel_t kuzu::common::SelectionVector::operator[] ( sel_t index) const
inline

◆ setRange()

void kuzu::common::SelectionVector::setRange ( sel_t startPos,
sel_t size )
inline

◆ setSelSize()

void kuzu::common::SelectionVector::setSelSize ( sel_t size)
inline

◆ setToFiltered() [1/2]

void kuzu::common::SelectionVector::setToFiltered ( )
inline

◆ setToFiltered() [2/2]

void kuzu::common::SelectionVector::setToFiltered ( sel_t size)
inline

◆ setToUnfiltered() [1/2]

void kuzu::common::SelectionVector::setToUnfiltered ( )
inline

◆ setToUnfiltered() [2/2]

void kuzu::common::SelectionVector::setToUnfiltered ( sel_t size)
inline

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