|
|
static constexpr const LogicalOperatorType | TYPE = LogicalOperatorType::LOGICAL_CREATE_TABLE |
|
| void | ResolveTypes () override |
| | Resolve types for this specific operator.
|
◆ LogicalCreateTable() [1/2]
381830 : LogicalOperator(LogicalOperatorType::LOGICAL_CREATE_TABLE),
schema(
schema),
info(std::move(
info)) {
381831}
SchemaCatalogEntry & schema
Schema to insert to.
Definition duckdb.cpp:203386
unique_ptr< BoundCreateTableInfo > info
Create Table information.
Definition duckdb.cpp:203388
◆ LogicalCreateTable() [2/2]
381834 : LogicalOperator(LogicalOperatorType::LOGICAL_CREATE_TABLE),
381836 D_ASSERT(unbound_info->type == CatalogType::TABLE_ENTRY);
381837 auto binder = Binder::CreateBinder(context);
381838 info = binder->BindCreateTableInfo(unique_ptr_cast<CreateInfo, CreateTableInfo>(std::move(unbound_info)));
381839}
DUCKDB_API SchemaCatalogEntry & GetSchema(ClientContext &context, const EntryLookupInfo &schema_lookup)
Returns the schema object with the specified name, or throws an exception if it does not exist.
Definition duckdb.cpp:7493
◆ Serialize()
| void duckdb::LogicalCreateTable::Serialize |
( |
Serializer & | serializer | ) |
const |
|
overridevirtual |
Reimplemented from duckdb::LogicalOperator.
416661 {
416662 LogicalOperator::Serialize(serializer);
416663 serializer.WritePropertyWithDefault<unique_ptr<CreateInfo>>(200,
"info",
info->base);
416664}
◆ Deserialize()
416666 {
416667 auto info = deserializer.ReadPropertyWithDefault<unique_ptr<CreateInfo>>(200,
"info");
416668 auto result = duckdb::unique_ptr<LogicalCreateTable>(
new LogicalCreateTable(deserializer.Get<ClientContext &>(), std::move(
info)));
416669 return std::move(result);
416670}
◆ EstimateCardinality()
◆ ResolveTypes()
| void duckdb::LogicalCreateTable::ResolveTypes |
( |
| ) |
|
|
overrideprotectedvirtual |
Resolve types for this specific operator.
Implements duckdb::LogicalOperator.
381845 {
381846 types.emplace_back(LogicalType::BIGINT);
381847}
vector< LogicalType > types
The types returned by this logical operator. Set by calling LogicalOperator::ResolveTypes.
Definition duckdb.hpp:21266
The documentation for this class was generated from the following file: