|
|
ExtraDropInfoType | info_type |
◆ ExtraDropInfo()
| duckdb::ExtraDropInfo::ExtraDropInfo |
( |
ExtraDropInfoType | info_type | ) |
|
|
inlineexplicit |
6710 : info_type(info_type) {
6711 }
◆ ~ExtraDropInfo()
| virtual duckdb::ExtraDropInfo::~ExtraDropInfo |
( |
| ) |
|
|
inlinevirtual |
◆ Cast() [1/2]
template<class TARGET>
| TARGET & duckdb::ExtraDropInfo::Cast |
( |
| ) |
|
|
inline |
6719 {
6720 DynamicCastCheck<TARGET>(this);
6721 return reinterpret_cast<TARGET &>(*this);
6722 }
◆ Cast() [2/2]
template<class TARGET>
| const TARGET & duckdb::ExtraDropInfo::Cast |
( |
| ) |
const |
|
inline |
6725 {
6726 DynamicCastCheck<TARGET>(this);
6727 return reinterpret_cast<const TARGET &>(*this);
6728 }
◆ Serialize()
| void duckdb::ExtraDropInfo::Serialize |
( |
Serializer & | serializer | ) |
const |
|
virtual |
416241 {
416242 serializer.WriteProperty<ExtraDropInfoType>(100, "info_type", info_type);
416243}
◆ Deserialize()
416245 {
416246 auto info_type = deserializer.ReadProperty<ExtraDropInfoType>(100, "info_type");
416247 unique_ptr<ExtraDropInfo> result;
416248 switch (info_type) {
416249 case ExtraDropInfoType::SECRET_INFO:
416250 result = ExtraDropSecretInfo::Deserialize(deserializer);
416251 break;
416252 default:
416253 throw SerializationException("Unsupported type for deserialization of ExtraDropInfo!");
416254 }
416255 return result;
416256}
The documentation for this struct was generated from the following file: