ClickHouse/src/Storages/System/StorageSystemTimeZones.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

26 lines
617 B
C++

#pragma once
#include <Storages/System/IStorageSystemOneBlock.h>
namespace DB
{
class Context;
/** System table "time_zones" with list of timezones pulled from /contrib/cctz/testdata/zoneinfo
*/
class StorageSystemTimeZones final : public IStorageSystemOneBlock<StorageSystemTimeZones>
{
public:
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo & query_info) const override;
using IStorageSystemOneBlock::IStorageSystemOneBlock;
public:
std::string getName() const override { return "SystemTimeZones"; }
static NamesAndTypesList getNamesAndTypes();
};
}