mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-06 16:40:48 +00:00
26 lines
634 B
C++
26 lines
634 B
C++
#pragma once
|
|
|
|
#include <ext/shared_ptr_helper.h>
|
|
#include <Storages/System/StorageSystemPartsBase.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class Context;
|
|
|
|
|
|
/** Implements system table 'parts' which allows to get information about data parts for tables of MergeTree family.
|
|
*/
|
|
class StorageSystemParts : public ext::shared_ptr_helper<StorageSystemParts>, public StorageSystemPartsBase
|
|
{
|
|
public:
|
|
std::string getName() const override { return "SystemParts"; }
|
|
|
|
protected:
|
|
explicit StorageSystemParts(const std::string & name);
|
|
void processNextStorage(MutableColumns & columns, const StoragesInfo & info, bool has_state_column) override;
|
|
};
|
|
|
|
}
|