2014-09-10 11:34:26 +00:00
|
|
|
#pragma once
|
|
|
|
|
2018-07-24 14:28:56 +00:00
|
|
|
#include <DataTypes/DataTypeString.h>
|
|
|
|
#include <DataTypes/DataTypesNumber.h>
|
|
|
|
#include <DataTypes/DataTypeArray.h>
|
2021-06-15 19:55:21 +00:00
|
|
|
#include <common/shared_ptr_helper.h>
|
2018-07-24 14:28:56 +00:00
|
|
|
#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;
|
|
|
|
|
|
|
|
|
2021-06-15 19:55:21 +00:00
|
|
|
class StorageSystemMerges final : public shared_ptr_helper<StorageSystemMerges>, public IStorageSystemOneBlock<StorageSystemMerges>
|
2014-09-10 11:34:26 +00:00
|
|
|
{
|
2021-06-15 19:55:21 +00:00
|
|
|
friend struct shared_ptr_helper<StorageSystemMerges>;
|
2014-09-10 11:34:26 +00:00
|
|
|
public:
|
2017-04-01 07:20:54 +00:00
|
|
|
std::string getName() const override { return "SystemMerges"; }
|
2014-09-10 11:34:26 +00:00
|
|
|
|
2018-07-24 14:28:56 +00:00
|
|
|
static NamesAndTypesList getNamesAndTypes();
|
2014-09-10 11:34:26 +00:00
|
|
|
|
2017-11-04 03:20:18 +00:00
|
|
|
protected:
|
2018-07-24 14:28:56 +00:00
|
|
|
using IStorageSystemOneBlock::IStorageSystemOneBlock;
|
|
|
|
|
2021-04-10 23:33:54 +00:00
|
|
|
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo & query_info) const override;
|
2014-09-10 11:34:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|