2018-07-20 13:17:16 +00:00
|
|
|
#pragma once
|
2022-04-19 20:47:29 +00:00
|
|
|
|
2018-07-23 16:10:57 +00:00
|
|
|
#include <Storages/System/IStorageSystemOneBlock.h>
|
2018-07-20 13:17:16 +00:00
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
2018-07-24 14:28:56 +00:00
|
|
|
|
2022-05-03 06:43:28 +00:00
|
|
|
class StorageSystemCollations final : public IStorageSystemOneBlock<StorageSystemCollations>
|
2018-07-20 13:17:16 +00:00
|
|
|
{
|
|
|
|
protected:
|
2021-04-10 23:33:54 +00:00
|
|
|
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo & query_info) const override;
|
2018-07-20 13:17:16 +00:00
|
|
|
|
2018-07-23 16:10:57 +00:00
|
|
|
using IStorageSystemOneBlock::IStorageSystemOneBlock;
|
2018-07-20 13:17:16 +00:00
|
|
|
|
2022-04-19 20:47:29 +00:00
|
|
|
public:
|
2018-07-24 14:28:56 +00:00
|
|
|
std::string getName() const override { return "SystemTableCollations"; }
|
2018-07-20 13:17:16 +00:00
|
|
|
|
2018-07-24 14:28:56 +00:00
|
|
|
static NamesAndTypesList getNamesAndTypes();
|
2018-07-20 13:17:16 +00:00
|
|
|
};
|
2018-07-24 14:28:56 +00:00
|
|
|
|
2018-07-20 13:17:16 +00:00
|
|
|
}
|