//===----------------------------------------------------------------------===// // DuckDB // // duckdb/catalog/catalog_entry/table_function_catalog_entry.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/catalog/catalog_entry/function_entry.hpp" #include "duckdb/catalog/catalog_set.hpp" #include "duckdb/function/function.hpp" #include "duckdb/parser/parsed_data/create_table_function_info.hpp" namespace duckdb { //! A table function in the catalog class TableFunctionCatalogEntry : public FunctionEntry { public: static constexpr const CatalogType Type = CatalogType::TABLE_FUNCTION_ENTRY; static constexpr const char *Name = "table function"; public: TableFunctionCatalogEntry(Catalog &catalog, SchemaCatalogEntry &schema, CreateTableFunctionInfo &info); //! The table function TableFunctionSet functions; public: unique_ptr AlterEntry(ClientContext &context, AlterInfo &info) override; }; } // namespace duckdb