◆ StructTypeInfo() [1/2]
| duckdb::StructTypeInfo::StructTypeInfo |
( |
child_list_t< LogicalType > | child_types_p | ) |
|
|
explicit |
72327 : ExtraTypeInfo(ExtraTypeInfoType::STRUCT_TYPE_INFO), child_types(std::move(child_types_p)) {
72328}
◆ StructTypeInfo() [2/2]
| duckdb::StructTypeInfo::StructTypeInfo |
( |
| ) |
|
|
private |
72323 : ExtraTypeInfo(ExtraTypeInfoType::STRUCT_TYPE_INFO) {
72324}
◆ Serialize()
| void duckdb::StructTypeInfo::Serialize |
( |
Serializer & | serializer | ) |
const |
|
overridevirtual |
Reimplemented from duckdb::ExtraTypeInfo.
420003 {
420004 ExtraTypeInfo::Serialize(serializer);
420005 serializer.WritePropertyWithDefault<child_list_t<LogicalType>>(200, "child_types", child_types);
420006}
◆ Deserialize()
420008 {
420009 auto result = duckdb::shared_ptr<StructTypeInfo>(new StructTypeInfo());
420010 deserializer.ReadPropertyWithDefault<child_list_t<LogicalType>>(200, "child_types", result->child_types);
420011 return std::move(result);
420012}
◆ Copy()
| shared_ptr< ExtraTypeInfo > duckdb::StructTypeInfo::Copy |
( |
| ) |
const |
|
overridevirtual |
Reimplemented from duckdb::ExtraTypeInfo.
72335 {
72336 return make_shared_ptr<StructTypeInfo>(*this);
72337}
◆ DeepCopy()
| shared_ptr< ExtraTypeInfo > duckdb::StructTypeInfo::DeepCopy |
( |
| ) |
const |
|
overridevirtual |
Reimplemented from duckdb::ExtraTypeInfo.
72339 {
72340 child_list_t<LogicalType> copied_child_types;
72341 for (const auto &child_type : child_types) {
72342 copied_child_types.emplace_back(child_type.first, child_type.second.DeepCopy());
72343 }
72344 return make_shared_ptr<StructTypeInfo>(std::move(copied_child_types));
72345}
◆ EqualsInternal()
| bool duckdb::StructTypeInfo::EqualsInternal |
( |
ExtraTypeInfo * | other_p | ) |
const |
|
overrideprotectedvirtual |
Reimplemented from duckdb::ExtraTypeInfo.
72330 {
72331 auto &other = other_p->Cast<StructTypeInfo>();
72332 return child_types == other.child_types;
72333}
The documentation for this struct was generated from the following file: