mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
29 lines
758 B
C++
29 lines
758 B
C++
#pragma once
|
|
|
|
#include <ext/shared_ptr_helper.h>
|
|
#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 ext::shared_ptr_helper<StorageSystemPartsColumns>, public StorageSystemPartsBase
|
|
{
|
|
friend struct ext::shared_ptr_helper<StorageSystemPartsColumns>;
|
|
public:
|
|
std::string getName() const override { return "SystemPartsColumns"; }
|
|
|
|
protected:
|
|
StorageSystemPartsColumns(const std::string & name_);
|
|
void processNextStorage(MutableColumns & columns, const StoragesInfo & info, bool has_state_column) override;
|
|
};
|
|
|
|
}
|