ClickHouse/src/Storages/System/StorageSystemCollations.h

24 lines
692 B
C++
Raw Normal View History

#pragma once
#include <Storages/System/IStorageSystemOneBlock.h>
2021-06-15 19:55:21 +00:00
#include <common/shared_ptr_helper.h>
namespace DB
{
2021-06-15 19:55:21 +00:00
class StorageSystemCollations final : public shared_ptr_helper<StorageSystemCollations>,
public IStorageSystemOneBlock<StorageSystemCollations>
{
2021-06-15 19:55:21 +00:00
friend struct shared_ptr_helper<StorageSystemCollations>;
protected:
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo & query_info) const override;
using IStorageSystemOneBlock::IStorageSystemOneBlock;
public:
std::string getName() const override { return "SystemTableCollations"; }
static NamesAndTypesList getNamesAndTypes();
};
}