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 setToFiltered ()
 
void setToFiltered (sel_t size)
 
std::span< sel_tgetMultableBuffer ()
 
std::span< sel_tgetSelectedPositions () 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)
 

Static Public Attributes

static KUZU_API const sel_t INCREMENTAL_SELECTED_POS [DEFAULT_VECTOR_CAPACITY]
 

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

◆ getMultableBuffer()

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

◆ getSelectedPositions()

std::span< 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

◆ 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

◆ 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

Member Data Documentation

◆ INCREMENTAL_SELECTED_POS

KUZU_API const sel_t kuzu::common::SelectionVector::INCREMENTAL_SELECTED_POS[DEFAULT_VECTOR_CAPACITY]
static

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