12345678910111213141516 |
- #pragma once
- #include <util/generic/hash.h>
- #include <util/generic/maybe.h>
- namespace NSQLTranslation {
- class TClusterMapping {
- public:
- explicit TClusterMapping(const THashMap<TString, TString>& mapping);
- TMaybe<TString> GetClusterProvider(const TString& cluster, TString& normalizedClusterName) const;
- private:
- THashMap<TString, TString> CaseSensitiveClusters;
- THashMap<TString, TString> CaseInsensitiveClusters;
- };
- }
|