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::CSVEncoderBuffer Struct Reference

Struct that holds encoder buffers. More...

#include <duckdb.hpp>

Collaboration diagram for duckdb::CSVEncoderBuffer:

Public Member Functions

void Initialize (idx_t encoded_buffer_size)
 
charPtr () const
 
idx_t GetCapacity () const
 
idx_t GetSize () const
 
void SetSize (const idx_t buffer_size)
 
bool HasDataToRead () const
 
void Reset ()
 

Public Attributes

idx_t cur_pos = 0
 
idx_t actual_encoded_buffer_size = 0
 The actual encoded buffer size, from the last file_handle read.
 
bool last_buffer = false
 If this is the last buffer.
 

Private Attributes

duckdb::unique_ptr< char[]> encoded_buffer
 The encoded buffer, we only have one per file, so we cache it and make sure to pass over unused bytes.
 
idx_t encoded_buffer_size
 The encoded buffer size is defined as buffer_size/GetRatio()
 

Detailed Description

Struct that holds encoder buffers.

Constructor & Destructor Documentation

◆ CSVEncoderBuffer()

duckdb::CSVEncoderBuffer::CSVEncoderBuffer ( )
inline
45017: encoded_buffer_size(0) {};
idx_t encoded_buffer_size
The encoded buffer size is defined as buffer_size/GetRatio()
Definition duckdb.hpp:45041

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