|
|
Catalog & | catalog |
| |
|
atomic< bool > | created_all_entries |
| |
◆ DefaultSchemaGenerator()
| duckdb::DefaultSchemaGenerator::DefaultSchemaGenerator |
( |
Catalog & |
catalog | ) |
|
|
explicit |
24315 : DefaultGenerator(catalog) {
24316}
◆ CreateDefaultEntry()
Reimplemented from duckdb::DefaultGenerator.
24319 {
24320 if (IsDefaultSchema(entry_name)) {
24321 CreateSchemaInfo info;
24323 info.internal = true;
24324 return make_uniq_base<CatalogEntry, DuckSchemaEntry>(catalog, info);
24325 }
24326 return nullptr;
24327}
static DUCKDB_API string Lower(const string &str)
Convert a string to lowercase.
◆ GetDefaultEntries()
| vector< string > duckdb::DefaultSchemaGenerator::GetDefaultEntries |
( |
| ) |
|
|
overridevirtual |
Get a list of all default entries in the generator.
Implements duckdb::DefaultGenerator.
24329 {
24330 vector<string> result;
24331 for (idx_t index = 0; internal_schemas[
index].name !=
nullptr;
index++) {
24332 result.emplace_back(internal_schemas[index].name);
24333 }
24334 return result;
24335}
◆ IsDefaultSchema()
| bool duckdb::DefaultSchemaGenerator::IsDefaultSchema |
( |
const string & |
input_schema | ) |
|
|
static |
24305 {
24307 for (idx_t index = 0; internal_schemas[
index].name !=
nullptr;
index++) {
24308 if (internal_schemas[index].name == schema) {
24309 return true;
24310 }
24311 }
24312 return false;
24313}
The documentation for this class was generated from the following file:
- external/duckdb/duckdb.cpp