aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Storages/MergeTree/PartMetadataManagerOrdinary.h
blob: 428b6d4710adcaa3c19c883c0ffdb5847d2c5801 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#pragma once

#include <Storages/MergeTree/IPartMetadataManager.h>

namespace DB
{

class PartMetadataManagerOrdinary : public IPartMetadataManager
{
public:
    explicit PartMetadataManagerOrdinary(const IMergeTreeDataPart * part_) : IPartMetadataManager(part_) {}

    ~PartMetadataManagerOrdinary() override = default;

    std::unique_ptr<ReadBuffer> read(const String & file_name) const override;

    bool exists(const String & file_name) const override;

    void deleteAll(bool /*include_projection*/) override {}

    void assertAllDeleted(bool /*include_projection*/) const override {}

    void updateAll(bool /*include_projection*/) override {}

    std::unordered_map<String, uint128> check() const override { return {}; }
};


}