|
| | SchemaCatalogEntry (Catalog &catalog, CreateSchemaInfo &info) |
| |
| unique_ptr< CreateInfo > | GetInfo () const override |
| |
| virtual void | Scan (ClientContext &context, CatalogType type, const std::function< void(CatalogEntry &)> &callback)=0 |
| | Scan the specified catalog set, invoking the callback method for every entry.
|
| |
| virtual void | Scan (CatalogType type, const std::function< void(CatalogEntry &)> &callback)=0 |
| | Scan the specified catalog set, invoking the callback method for every committed entry.
|
| |
| string | ToSQL () const override |
| | Convert the catalog entry to a SQL string that can be used to re-construct the catalog entry.
|
| |
| virtual optional_ptr< CatalogEntry > | CreateIndex (CatalogTransaction transaction, CreateIndexInfo &info, TableCatalogEntry &table)=0 |
| | Creates an index with the given name in the schema.
|
| |
| optional_ptr< CatalogEntry > | CreateIndex (ClientContext &context, CreateIndexInfo &info, TableCatalogEntry &table) |
| |
| virtual optional_ptr< CatalogEntry > | CreateFunction (CatalogTransaction transaction, CreateFunctionInfo &info)=0 |
| | Create a scalar or aggregate function within the given schema.
|
| |
| virtual optional_ptr< CatalogEntry > | CreateTable (CatalogTransaction transaction, BoundCreateTableInfo &info)=0 |
| | Creates a table with the given name in the schema.
|
| |
| virtual optional_ptr< CatalogEntry > | CreateView (CatalogTransaction transaction, CreateViewInfo &info)=0 |
| | Creates a view with the given name in the schema.
|
| |
| virtual optional_ptr< CatalogEntry > | CreateSequence (CatalogTransaction transaction, CreateSequenceInfo &info)=0 |
| | Creates a sequence with the given name in the schema.
|
| |
| virtual optional_ptr< CatalogEntry > | CreateTableFunction (CatalogTransaction transaction, CreateTableFunctionInfo &info)=0 |
| | Create a table function within the given schema.
|
| |
| virtual optional_ptr< CatalogEntry > | CreateCopyFunction (CatalogTransaction transaction, CreateCopyFunctionInfo &info)=0 |
| | Create a copy function within the given schema.
|
| |
| virtual optional_ptr< CatalogEntry > | CreatePragmaFunction (CatalogTransaction transaction, CreatePragmaFunctionInfo &info)=0 |
| | Create a pragma function within the given schema.
|
| |
| virtual optional_ptr< CatalogEntry > | CreateCollation (CatalogTransaction transaction, CreateCollationInfo &info)=0 |
| | Create a collation within the given schema.
|
| |
| virtual optional_ptr< CatalogEntry > | CreateCoordinateSystem (CatalogTransaction transaction, CreateCoordinateSystemInfo &info) |
| | Create a coordiante system within the given schema.
|
| |
| virtual optional_ptr< CatalogEntry > | CreateType (CatalogTransaction transaction, CreateTypeInfo &info)=0 |
| | Create a enum within the given schema.
|
| |
| virtual DUCKDB_API optional_ptr< CatalogEntry > | LookupEntry (CatalogTransaction transaction, const EntryLookupInfo &lookup_info)=0 |
| | Lookup an entry in the schema.
|
| |
| virtual DUCKDB_API CatalogSet::EntryLookup | LookupEntryDetailed (CatalogTransaction transaction, const EntryLookupInfo &lookup_info) |
| |
| virtual DUCKDB_API SimilarCatalogEntry | GetSimilarEntry (CatalogTransaction transaction, const EntryLookupInfo &lookup_info) |
| |
| DUCKDB_API optional_ptr< CatalogEntry > | GetEntry (CatalogTransaction transaction, CatalogType type, const string &name) |
| |
| virtual void | DropEntry (ClientContext &context, DropInfo &info)=0 |
| | Drops an entry from the schema.
|
| |
| virtual void | Alter (CatalogTransaction transaction, AlterInfo &info)=0 |
| | Alters a catalog entry.
|
| |
| CatalogTransaction | GetCatalogTransaction (ClientContext &context) |
| |
| | InCatalogEntry (CatalogType type, Catalog &catalog, string name) |
| |
| Catalog & | ParentCatalog () override |
| |
| const Catalog & | ParentCatalog () const override |
| |
| void | Verify (Catalog &catalog) override |
| |
| | CatalogEntry (CatalogType type, Catalog &catalog, string name) |
| |
| | CatalogEntry (CatalogType type, string name, idx_t oid) |
| |
| virtual unique_ptr< CatalogEntry > | AlterEntry (ClientContext &context, AlterInfo &info) |
| |
| virtual unique_ptr< CatalogEntry > | AlterEntry (CatalogTransaction transaction, AlterInfo &info) |
| |
| virtual void | UndoAlter (ClientContext &context, AlterInfo &info) |
| |
| virtual void | Rollback (CatalogEntry &prev_entry) |
| |
| virtual void | OnDrop () |
| |
| virtual unique_ptr< CatalogEntry > | Copy (ClientContext &context) const |
| |
| virtual void | SetAsRoot () |
| | Sets the CatalogEntry as the new root entry (i.e. the newest entry)
|
| |
| virtual SchemaCatalogEntry & | ParentSchema () |
| |
| virtual const SchemaCatalogEntry & | ParentSchema () const |
| |
| void | Serialize (Serializer &serializer) const |
| |
| void | SetChild (unique_ptr< CatalogEntry > child) |
| |
| unique_ptr< CatalogEntry > | TakeChild () |
| |
| bool | HasChild () const |
| |
| bool | HasParent () const |
| |
| CatalogEntry & | Child () |
| |
| CatalogEntry & | Parent () |
| |
|
const CatalogEntry & | Parent () const |
| |
| template<class TARGET > |
| TARGET & | Cast () |
| |
| template<class TARGET > |
| const TARGET & | Cast () const |
| |
|
| static unique_ptr< CreateInfo > | Deserialize (Deserializer &deserializer) |
| |
|
Catalog & | catalog |
| | The catalog the entry belongs to.
|
| |
|
idx_t | oid |
| | The oid of the entry.
|
| |
|
CatalogType | type |
| | The type of this catalog entry.
|
| |
|
optional_ptr< CatalogSet > | set |
| | Reference to the catalog set this entry is stored in.
|
| |
|
string | name |
| | The name of the entry.
|
| |
|
bool | deleted |
| | Whether or not the object is deleted.
|
| |
|
bool | temporary |
| | Whether or not the object is temporary and should not be added to the WAL.
|
| |
|
bool | internal |
| | Whether or not the entry is an internal entry (cannot be deleted, not dumped, etc)
|
| |
|
atomic< transaction_t > | timestamp |
| | Timestamp at which the catalog entry was created.
|
| |
|
Value | comment |
| | (optional) comment on this entry
|
| |
|
InsertionOrderPreservingMap< string > | tags |
| | (optional) extra data associated with this entry
|
| |