mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 03:12:43 +00:00
777b5bc15b
... IStorage has deleted copy ctor / assignment already
26 lines
617 B
C++
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();
|
|
};
|
|
}
|