◆ VectorStructBuffer() [1/3]
| duckdb::VectorStructBuffer::VectorStructBuffer |
( |
| ) |
|
138736 : VectorBuffer(VectorBufferType::STRUCT_BUFFER) {
138737}
◆ VectorStructBuffer() [2/3]
| duckdb::VectorStructBuffer::VectorStructBuffer |
( |
const LogicalType & | struct_type, |
|
|
idx_t | capacity = STANDARD_VECTOR_SIZE ) |
|
explicit |
138740 : VectorBuffer(VectorBufferType::STRUCT_BUFFER) {
138741 auto &child_types = StructType::GetChildTypes(type);
138742 for (auto &child_type : child_types) {
138743 auto vector = make_uniq<Vector>(child_type.second, capacity);
138744 children.push_back(std::move(vector));
138745 }
138746}
vector< unique_ptr< Vector > > children
child vectors used for nested data
Definition duckdb.hpp:10222
◆ VectorStructBuffer() [3/3]
138749 : VectorBuffer(VectorBufferType::STRUCT_BUFFER) {
138750 auto &other_vector = StructVector::GetEntries(other);
138751 for (auto &child_vector : other_vector) {
138752 auto vector = make_uniq<Vector>(*child_vector, sel, count);
138753 children.push_back(std::move(vector));
138754 }
138755}
◆ ~VectorStructBuffer()
| duckdb::VectorStructBuffer::~VectorStructBuffer |
( |
| ) |
|
|
override |
◆ GetChildren() [1/2]
◆ GetChildren() [2/2]
The documentation for this class was generated from the following files: