|
|
AlterViewType | alter_view_type |
|
AlterType | type |
|
OnEntryNotFound | if_not_found |
| | if exists
|
|
string | catalog |
| | Catalog name to alter.
|
|
string | schema |
| | Schema name to alter.
|
|
string | name |
| | Entry name to alter.
|
|
bool | allow_internal |
| | Allow altering internal entries.
|
|
unique_ptr< LogicalDependencyList > | new_dependencies |
| | New dependencies for the altered entry (set during binding).
|
|
ParseInfoType | info_type |
|
|
static constexpr const ParseInfoType | TYPE = ParseInfoType::ALTER_INFO |
◆ AlterViewInfo() [1/2]
| duckdb::AlterViewInfo::AlterViewInfo |
( |
AlterViewType | type, |
|
|
AlterEntryData | data ) |
338752 : AlterInfo(AlterType::ALTER_VIEW, std::move(data.catalog), std::move(data.schema), std::move(data.name),
338753 data.if_not_found),
338754 alter_view_type(type) {
338755}
◆ ~AlterViewInfo()
| duckdb::AlterViewInfo::~AlterViewInfo |
( |
| ) |
|
|
override |
◆ AlterViewInfo() [2/2]
| duckdb::AlterViewInfo::AlterViewInfo |
( |
AlterViewType | type | ) |
|
|
explicitprotected |
338748 : AlterInfo(AlterType::ALTER_VIEW), alter_view_type(type) {
338749}
◆ GetCatalogType()
| CatalogType duckdb::AlterViewInfo::GetCatalogType |
( |
| ) |
const |
|
overridevirtual |
Implements duckdb::AlterInfo.
338759 {
338760 return CatalogType::VIEW_ENTRY;
338761}
◆ Serialize()
| void duckdb::AlterViewInfo::Serialize |
( |
Serializer & | serializer | ) |
const |
|
overridevirtual |
Reimplemented from duckdb::AlterInfo.
418123 {
418124 AlterInfo::Serialize(serializer);
418125 serializer.WriteProperty<AlterViewType>(300, "alter_view_type", alter_view_type);
418126}
◆ Deserialize()
418128 {
418129 auto alter_view_type = deserializer.ReadProperty<AlterViewType>(300, "alter_view_type");
418130 unique_ptr<AlterViewInfo> result;
418131 switch (alter_view_type) {
418132 case AlterViewType::RENAME_VIEW:
418133 result = RenameViewInfo::Deserialize(deserializer);
418134 break;
418135 default:
418136 throw SerializationException("Unsupported type for deserialization of AlterViewInfo!");
418137 }
418138 return std::move(result);
418139}
The documentation for this struct was generated from the following files: