Update src/Disks/ObjectStorages/CommonPathPrefixKeyGenerator.h

Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
This commit is contained in:
Julia Kartseva 2024-04-25 16:54:44 -07:00
parent 89f28f3c18
commit 70d55aa618

View File

@ -20,6 +20,7 @@ namespace DB
class CommonPathPrefixKeyGenerator : public IObjectStorageKeysGenerator class CommonPathPrefixKeyGenerator : public IObjectStorageKeysGenerator
{ {
public: public:
/// Local to remote path map.
using PathMap = std::unordered_map<std::string, std::string>; using PathMap = std::unordered_map<std::string, std::string>;
explicit CommonPathPrefixKeyGenerator(String key_prefix_, SharedMutex & shared_mutex_, std::weak_ptr<PathMap> path_map_); explicit CommonPathPrefixKeyGenerator(String key_prefix_, SharedMutex & shared_mutex_, std::weak_ptr<PathMap> path_map_);