ClickHouse/src/Storages/System/StorageSystemCollations.h
2021-06-16 23:28:41 +03:00

24 lines
692 B
C++

#pragma once
#include <Storages/System/IStorageSystemOneBlock.h>
#include <common/shared_ptr_helper.h>
namespace DB
{
class StorageSystemCollations final : public shared_ptr_helper<StorageSystemCollations>,
public IStorageSystemOneBlock<StorageSystemCollations>
{
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();
};
}