18 selVector = std::make_shared<SelectionVector>(capacity);
25 bool isFlat()
const {
return fStateType == FStateType::FLAT; }
34 this->selVector = std::move(selVector_);
40 std::shared_ptr<SelectionVector> selVector;
#define KUZU_API
Definition api.h:25
Definition data_chunk_state.h:14
void setToUnflat()
Definition data_chunk_state.h:27
bool isFlat() const
Definition data_chunk_state.h:25
void slice(offset_t offset)
static std::shared_ptr< DataChunkState > getSingleValueDataChunkState()
void setSelVector(std::shared_ptr< SelectionVector > selVector_)
Definition data_chunk_state.h:33
DataChunkState(sel_t capacity)
Definition data_chunk_state.h:17
SelectionVector & getSelVectorUnsafe()
Definition data_chunk_state.h:31
DataChunkState()
Definition data_chunk_state.h:16
void initOriginalAndSelectedSize(uint64_t size)
Definition data_chunk_state.h:24
const SelectionVector & getSelVector() const
Definition data_chunk_state.h:29
void setToFlat()
Definition data_chunk_state.h:26
std::shared_ptr< SelectionVector > getSelVectorShared()
Definition data_chunk_state.h:32
sel_t getSelSize() const
Definition data_chunk_state.h:30
Definition sel_vector.h:14
constexpr uint64_t DEFAULT_VECTOR_CAPACITY
Definition constants.h:24
FStateType
Definition data_chunk_state.h:9
uint64_t sel_t
Definition types.h:30
uint64_t offset_t
Definition types.h:77
Definition array_utils.h:7