ClickHouse/src/Storages/System/StorageSystemModels.h

27 lines
564 B
C++
Raw Normal View History

2017-12-04 12:15:21 +00:00
#pragma once
#include <boost/noncopyable.hpp>
#include <Storages/System/IStorageSystemOneBlock.h>
2017-12-04 12:15:21 +00:00
namespace DB
{
class Context;
class StorageSystemModels final : public IStorageSystemOneBlock<StorageSystemModels>, boost::noncopyable
2017-12-04 12:15:21 +00:00
{
public:
std::string getName() const override { return "SystemModels"; }
static NamesAndTypesList getNamesAndTypes();
2017-12-04 12:15:21 +00:00
protected:
using IStorageSystemOneBlock::IStorageSystemOneBlock;
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo & query_info) const override;
2017-12-04 12:15:21 +00:00
};
}