ClickHouse/src/Storages/System/StorageSystemMerges.h

30 lines
678 B
C++
Raw Normal View History

2014-09-10 11:34:26 +00:00
#pragma once
#include <boost/noncopyable.hpp>
#include <DataTypes/DataTypeString.h>
#include <DataTypes/DataTypesNumber.h>
#include <DataTypes/DataTypeArray.h>
#include <Storages/System/IStorageSystemOneBlock.h>
2014-09-10 11:34:26 +00:00
2016-12-08 02:49:04 +00:00
2014-09-10 11:34:26 +00:00
namespace DB
{
2016-12-08 02:49:04 +00:00
class Context;
class StorageSystemMerges final : public IStorageSystemOneBlock<StorageSystemMerges>, boost::noncopyable
2014-09-10 11:34:26 +00:00
{
public:
std::string getName() const override { return "SystemMerges"; }
2014-09-10 11:34:26 +00:00
static NamesAndTypesList getNamesAndTypes();
2014-09-10 11:34:26 +00:00
protected:
using IStorageSystemOneBlock::IStorageSystemOneBlock;
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo & query_info) const override;
2014-09-10 11:34:26 +00:00
};
}