1#pragma once
2
3#include <IO/ReadBuffer.h>
4#include "IHierarchiesProvider.h"
5
6
7// Reads regions hierarchy in geoexport format
8class RegionsHierarchyFormatReader : public IRegionsHierarchyReader
9{
10private:
11 DB::ReadBufferPtr input;
12
13public:
14 RegionsHierarchyFormatReader(DB::ReadBufferPtr input_) : input(std::move(input_)) {}
15
16 bool readNext(RegionEntry & entry) override;
17};
18