ClickHouse/src/Storages/System/StorageSystemTransactions.h

28 lines
640 B
C++
Raw Normal View History

2022-03-10 21:29:58 +00:00
#pragma once
#include <boost/noncopyable.hpp>
2022-03-10 21:29:58 +00:00
#include <Storages/System/IStorageSystemOneBlock.h>
namespace DB
{
class Context;
class StorageSystemTransactions final : public IStorageSystemOneBlock<StorageSystemTransactions>, boost::noncopyable
2022-03-10 21:29:58 +00:00
{
public:
String getName() const override { return "SystemTransactions"; }
static NamesAndTypesList getNamesAndTypes();
static NamesAndAliases getNamesAndAliases() { return {}; }
protected:
using IStorageSystemOneBlock::IStorageSystemOneBlock;
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo & query_info) const override;
};
}