2022-01-05 11:51:50 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <Storages/MergeTree/IPartMetadataManager.h>
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
|
|
|
class PartMetadataManagerOrdinary : public IPartMetadataManager
|
|
|
|
{
|
|
|
|
public:
|
2022-10-23 03:29:26 +00:00
|
|
|
explicit PartMetadataManagerOrdinary(const IMergeTreeDataPart * part_) : IPartMetadataManager(part_) {}
|
2022-01-05 11:51:50 +00:00
|
|
|
|
|
|
|
~PartMetadataManagerOrdinary() override = default;
|
|
|
|
|
2022-05-29 07:28:02 +00:00
|
|
|
std::unique_ptr<ReadBuffer> read(const String & file_name) const override;
|
2022-01-05 11:51:50 +00:00
|
|
|
|
|
|
|
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 {}
|
|
|
|
|
2022-01-07 10:37:08 +00:00
|
|
|
std::unordered_map<String, uint128> check() const override { return {}; }
|
2022-01-05 11:51:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
}
|