ClickHouse/src/Storages/System/StorageSystemQuotasUsage.h
Robert Schulze 777b5bc15b
Don't let storages inherit from boost::noncopyable
... IStorage has deleted copy ctor / assignment already
2022-05-03 09:07:08 +02:00

25 lines
640 B
C++

#pragma once
#include <Storages/System/IStorageSystemOneBlock.h>
namespace DB
{
class Context;
/** Implements the `quotas_usage` system table, which allows you to get information about
* how all users use the quotas.
*/
class StorageSystemQuotasUsage final : public IStorageSystemOneBlock<StorageSystemQuotasUsage>
{
public:
std::string getName() const override { return "SystemQuotasUsage"; }
static NamesAndTypesList getNamesAndTypes();
protected:
using IStorageSystemOneBlock::IStorageSystemOneBlock;
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo &) const override;
};
}