#pragma once #include #include namespace DB { class Context; /** System table "licenses" with list of licenses of 3rd party libraries */ class StorageSystemLicenses final : public ext::shared_ptr_helper, public IStorageSystemOneBlock { friend struct ext::shared_ptr_helper; protected: void fillData(MutableColumns & res_columns, const Context & context, const SelectQueryInfo & query_info) const override; using IStorageSystemOneBlock::IStorageSystemOneBlock; public: std::string getName() const override { return "SystemLicenses"; } static NamesAndTypesList getNamesAndTypes(); }; }