1//===----------------------------------------------------------------------===//
2// DuckDB
3//
4// duckdb/catalog/catalog_entry/scalar_function_catalog_entry.hpp
5//
6//
7//===----------------------------------------------------------------------===//
8
9#pragma once
10
11#include "duckdb/catalog/standard_entry.hpp"
12#include "duckdb/catalog/catalog_set.hpp"
13#include "duckdb/function/function.hpp"
14#include "duckdb/parser/parsed_data/create_scalar_function_info.hpp"
15
16namespace duckdb {
17
18//! A table function in the catalog
19class ScalarFunctionCatalogEntry : public StandardEntry {
20public:
21 ScalarFunctionCatalogEntry(Catalog *catalog, SchemaCatalogEntry *schema, CreateScalarFunctionInfo *info)
22 : StandardEntry(CatalogType::SCALAR_FUNCTION, schema, catalog, info->name), functions(info->functions) {
23 }
24
25 //! The scalar functions
26 vector<ScalarFunction> functions;
27};
28} // namespace duckdb
29