Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::VectorFSSTStringBuffer Class Reference
Inheritance diagram for duckdb::VectorFSSTStringBuffer:
Collaboration diagram for duckdb::VectorFSSTStringBuffer:

Public Member Functions

void AddDecoder (buffer_ptr< void > &duckdb_fsst_decoder_p, const idx_t string_block_limit)
 
voidGetDecoder ()
 
vector< unsigned char > & GetDecompressBuffer ()
 
void SetCount (idx_t count)
 
idx_t GetCount ()
 
- Public Member Functions inherited from duckdb::VectorStringBuffer
 VectorStringBuffer (Allocator &allocator)
 
 VectorStringBuffer (VectorBufferType type)
 
string_t AddString (const char *data, idx_t len)
 
string_t AddString (string_t data)
 
string_t AddBlob (string_t data)
 
string_t EmptyString (idx_t len)
 
ArenaAllocatorGetStringAllocator ()
 
data_ptr_t AllocateShrinkableBuffer (idx_t alloc_len)
 
string_t FinalizeShrinkableBuffer (data_ptr_t buffer, idx_t alloc_len, idx_t str_len)
 
void AddHeapReference (buffer_ptr< VectorBuffer > heap)
 
- Public Member Functions inherited from duckdb::VectorBuffer
 VectorBuffer (VectorBufferType type)
 
 VectorBuffer (idx_t data_size)
 
 VectorBuffer (AllocatedData &&data_p)
 
data_ptr_t GetData ()
 
void SetData (AllocatedData &&new_data)
 
VectorAuxiliaryDataGetAuxiliaryData ()
 
void SetAuxiliaryData (unique_ptr< VectorAuxiliaryData > aux_data_p)
 
void MoveAuxiliaryData (VectorBuffer &source_buffer)
 
virtual optional_ptr< AllocatorGetAllocator () const
 
VectorBufferType GetBufferType () const
 
VectorAuxiliaryDataType GetAuxiliaryDataType () const
 
template<class TARGET >
TARGETCast ()
 
template<class TARGET >
const TARGETCast () const
 

Private Attributes

buffer_ptr< voidduckdb_fsst_decoder
 
idx_t total_string_count = 0
 
vector< unsigned chardecompress_buffer
 

Additional Inherited Members

- Static Public Member Functions inherited from duckdb::VectorBuffer
static buffer_ptr< VectorBufferCreateStandardVector (PhysicalType type, idx_t capacity=STANDARD_VECTOR_SIZE)
 
static buffer_ptr< VectorBufferCreateConstantVector (PhysicalType type)
 
static buffer_ptr< VectorBufferCreateConstantVector (const LogicalType &logical_type)
 
static buffer_ptr< VectorBufferCreateStandardVector (const LogicalType &logical_type, idx_t capacity=STANDARD_VECTOR_SIZE)
 
- Protected Attributes inherited from duckdb::VectorBuffer
VectorBufferType buffer_type
 
unique_ptr< VectorAuxiliaryDataaux_data
 
AllocatedData data
 

Member Function Documentation

◆ AddDecoder()

void duckdb::VectorFSSTStringBuffer::AddDecoder ( buffer_ptr< void > &  duckdb_fsst_decoder_p,
const idx_t  string_block_limit 
)
inline
10182 {
10183 duckdb_fsst_decoder = duckdb_fsst_decoder_p;
10184 decompress_buffer.resize(string_block_limit + 1);
10185 }

◆ GetDecoder()

void * duckdb::VectorFSSTStringBuffer::GetDecoder ( )
inline
10186 {
10187 return duckdb_fsst_decoder.get();
10188 }

◆ GetDecompressBuffer()

vector< unsigned char > & duckdb::VectorFSSTStringBuffer::GetDecompressBuffer ( )
inline
10189 {
10190 return decompress_buffer;
10191 }

◆ SetCount()

void duckdb::VectorFSSTStringBuffer::SetCount ( idx_t  count)
inline
10192 {
10193 total_string_count = count;
10194 }

◆ GetCount()

idx_t duckdb::VectorFSSTStringBuffer::GetCount ( )
inline
10195 {
10196 return total_string_count;
10197 }

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