ClickHouse/src/Storages/System/StorageSystemPartsColumns.h

29 lines
717 B
C++
Raw Normal View History

#pragma once
#include <boost/noncopyable.hpp>
#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, boost::noncopyable
{
public:
explicit StorageSystemPartsColumns(const StorageID & table_id_);
std::string getName() const override { return "SystemPartsColumns"; }
protected:
void processNextStorage(
2021-06-02 20:03:44 +00:00
ContextPtr context, MutableColumns & columns, std::vector<UInt8> & columns_mask, const StoragesInfo & info, bool has_state_column) override;
};
}