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::RenderDataCollection Struct Reference
Collaboration diagram for duckdb::RenderDataCollection:

Public Member Functions

 RenderDataCollection (ClientContext &context, idx_t column_count)
 
void InitializeChunk (DataChunk &chunk)
 
VectorValues (DataChunk &chunk, idx_t c)
 
VectorRenderLengths (DataChunk &chunk, idx_t c)
 

Public Attributes

ClientContextcontext
 
unique_ptr< ColumnDataCollectionrender_values
 

Constructor & Destructor Documentation

◆ RenderDataCollection()

duckdb::RenderDataCollection::RenderDataCollection ( ClientContext context,
idx_t  column_count 
)
47908 : context(context) {
47909 vector<LogicalType> render_value_types;
47910 for (idx_t c = 0; c < column_count; c++) {
47911 render_value_types.emplace_back(LogicalType::VARCHAR);
47912 render_value_types.emplace_back(LogicalType::UBIGINT);
47913 }
47914 render_values = make_uniq<ColumnDataCollection>(context, render_value_types);
47915}

Member Function Documentation

◆ InitializeChunk()

void duckdb::RenderDataCollection::InitializeChunk ( DataChunk chunk)
47917 {
47918 chunk.Initialize(context, render_values->Types());
47919}

◆ Values()

Vector & duckdb::RenderDataCollection::Values ( DataChunk chunk,
idx_t  c 
)
inline
47437 {
47438 return chunk.data[c * 2];
47439 }

◆ RenderLengths()

Vector & duckdb::RenderDataCollection::RenderLengths ( DataChunk chunk,
idx_t  c 
)
inline
47440 {
47441 return chunk.data[c * 2 + 1];
47442 }

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