mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
777b5bc15b
... IStorage has deleted copy ctor / assignment already
28 lines
664 B
C++
28 lines
664 B
C++
#pragma once
|
|
|
|
#include <Storages/System/StorageSystemPartsBase.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class Context;
|
|
|
|
|
|
/** Implements system table 'parts_columns' which allows to get information about
|
|
* columns in data parts for tables of MergeTree family.
|
|
*/
|
|
class StorageSystemPartsColumns final : public StorageSystemPartsBase
|
|
{
|
|
public:
|
|
explicit StorageSystemPartsColumns(const StorageID & table_id_);
|
|
|
|
std::string getName() const override { return "SystemPartsColumns"; }
|
|
|
|
protected:
|
|
void processNextStorage(
|
|
ContextPtr context, MutableColumns & columns, std::vector<UInt8> & columns_mask, const StoragesInfo & info, bool has_state_column) override;
|
|
};
|
|
|
|
}
|