|
|
string | column_name |
| | The column name to alter.
|
|
AlterTableType | alter_table_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 |
| | AlterTableInfo (AlterTableType type) |
| | AlterInfo (AlterType type) |
◆ DropNotNullInfo() [1/2]
| duckdb::DropNotNullInfo::DropNotNullInfo |
( |
AlterEntryData | data, |
|
|
string | column_name ) |
338697 : AlterTableInfo(AlterTableType::DROP_NOT_NULL, std::move(data)),
column_name(std::move(column_name_p)) {
338698}
string column_name
The column name to alter.
Definition duckdb.hpp:28809
◆ ~DropNotNullInfo()
| duckdb::DropNotNullInfo::~DropNotNullInfo |
( |
| ) |
|
|
override |
◆ DropNotNullInfo() [2/2]
| duckdb::DropNotNullInfo::DropNotNullInfo |
( |
| ) |
|
|
private |
338693 : AlterTableInfo(AlterTableType::DROP_NOT_NULL) {
338694}
◆ Copy()
◆ ToString()
| string duckdb::DropNotNullInfo::ToString |
( |
| ) |
const |
|
overridevirtual |
Implements duckdb::AlterInfo.
338706 {
338707 string result = "";
338708 result += "ALTER TABLE ";
338710 result += " IF EXISTS";
338711 }
338713 result += " ALTER COLUMN ";
338715 result += " DROP NOT NULL";
338716 result += ";";
338717 return result;
338718}
static string WriteOptionallyQuoted(const string &text, char quote='"', bool allow_caps = true, KeywordCategory category = KeywordCategory::KEYWORD_NONE)
Writes a string that is optionally quoted + escaped so it can be used as an identifier.
Definition duckdb.cpp:338034
string catalog
Catalog name to alter.
Definition duckdb.hpp:28312
OnEntryNotFound if_not_found
if exists
Definition duckdb.hpp:28310
string name
Entry name to alter.
Definition duckdb.hpp:28316
string schema
Schema name to alter.
Definition duckdb.hpp:28314
◆ Serialize()
| void duckdb::DropNotNullInfo::Serialize |
( |
Serializer & | serializer | ) |
const |
|
overridevirtual |
Reimplemented from duckdb::AlterTableInfo.
418357 {
418358 AlterTableInfo::Serialize(serializer);
418359 serializer.WritePropertyWithDefault<
string>(400,
"column_name",
column_name);
418360}
◆ Deserialize()
418362 {
418363 auto result = duckdb::unique_ptr<DropNotNullInfo>(new DropNotNullInfo());
418364 deserializer.ReadPropertyWithDefault<string>(400, "column_name", result->column_name);
418365 return std::move(result);
418366}
The documentation for this struct was generated from the following files: