blob: c7a46cfda54d60521b40e37f9f1d71c3480fcb35 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#pragma once
#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 final : public StorageSystemPartsBase
{
public:
explicit StorageSystemParts(const StorageID & table_id_);
std::string getName() const override { return "SystemParts"; }
protected:
void processNextStorage(
ContextPtr context, MutableColumns & columns, std::vector<UInt8> & columns_mask, const StoragesInfo & info, bool has_state_column) override;
};
}
|