|
|
static DUCKDB_API const idx_t | MAX_UNION_MEMBERS = 256 |
◆ GetMemberCount()
140727 {
140728
140729 return StructType::GetChildTypes(type).size() - 1;
140730}
◆ GetMemberType()
140713 {
140714 auto &child_types = StructType::GetChildTypes(type);
140715 D_ASSERT(index < child_types.size());
140716
140717 return child_types[
index + 1].second;
140718}
◆ GetMemberName()
| const string & duckdb::UnionType::GetMemberName |
( |
const LogicalType & | type, |
|
|
idx_t | index ) |
|
static |
140720 {
140721 auto &child_types = StructType::GetChildTypes(type);
140722 D_ASSERT(index < child_types.size());
140723
140724 return child_types[
index + 1].first;
140725}
◆ CopyMemberTypes()
140731 {
140732 auto child_types = StructType::GetChildTypes(type);
140733 child_types.erase(child_types.begin());
140734 return child_types;
140735}
The documentation for this struct was generated from the following files: