2022-03-10 21:29:58 +00:00
|
|
|
#pragma once
|
2022-04-19 20:47:29 +00:00
|
|
|
|
2022-03-10 21:29:58 +00:00
|
|
|
#include <Storages/System/IStorageSystemOneBlock.h>
|
|
|
|
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
|
|
|
class Context;
|
|
|
|
|
2022-05-03 06:43:28 +00:00
|
|
|
class StorageSystemTransactions final : public IStorageSystemOneBlock<StorageSystemTransactions>
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|