◆ 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}
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
◆ InitializeChunk()
| void duckdb::RenderDataCollection::InitializeChunk |
( |
DataChunk & | chunk | ) |
|
47917 {
47918 chunk.
Initialize(context, render_values->Types());
47919}
DUCKDB_API void Initialize(ClientContext &context, const vector< LogicalType > &types, idx_t capacity=STANDARD_VECTOR_SIZE)
Definition duckdb.cpp:116791
◆ Values()
47437 {
47438 return chunk.
data[c * 2];
47439 }
vector< Vector > data
The vectors owned by the DataChunk.
Definition duckdb.hpp:11445
◆ RenderLengths()
47440 {
47441 return chunk.
data[c * 2 + 1];
47442 }
The documentation for this struct was generated from the following file: