From f38d552844fbdbcf73be37a9cd4d5bf88f4c01bd Mon Sep 17 00:00:00 2001 From: Andrey Mironov Date: Tue, 24 Mar 2015 15:26:19 +0300 Subject: [PATCH] dbms: simplify return value of IDictionary::getTypeName [#METR-13298] --- dbms/include/DB/Dictionaries/CacheDictionary.h | 2 +- dbms/include/DB/Dictionaries/FlatDictionary.h | 2 +- dbms/include/DB/Dictionaries/HashedDictionary.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dbms/include/DB/Dictionaries/CacheDictionary.h b/dbms/include/DB/Dictionaries/CacheDictionary.h index 4c026b73b01..300bd1d7060 100644 --- a/dbms/include/DB/Dictionaries/CacheDictionary.h +++ b/dbms/include/DB/Dictionaries/CacheDictionary.h @@ -43,7 +43,7 @@ public: std::string getName() const override { return name; } - std::string getTypeName() const override { return "CacheDictionary"; } + std::string getTypeName() const override { return "Cache"; } std::size_t getBytesAllocated() const override { return bytes_allocated; } diff --git a/dbms/include/DB/Dictionaries/FlatDictionary.h b/dbms/include/DB/Dictionaries/FlatDictionary.h index f43c9d15cbb..65d39eb8558 100644 --- a/dbms/include/DB/Dictionaries/FlatDictionary.h +++ b/dbms/include/DB/Dictionaries/FlatDictionary.h @@ -33,7 +33,7 @@ public: std::string getName() const override { return name; } - std::string getTypeName() const override { return "FlatDictionary"; } + std::string getTypeName() const override { return "Flat"; } std::size_t getBytesAllocated() const override { return bytes_allocated; } diff --git a/dbms/include/DB/Dictionaries/HashedDictionary.h b/dbms/include/DB/Dictionaries/HashedDictionary.h index dce141a00bf..8c317034bf6 100644 --- a/dbms/include/DB/Dictionaries/HashedDictionary.h +++ b/dbms/include/DB/Dictionaries/HashedDictionary.h @@ -31,7 +31,7 @@ public: std::string getName() const override { return name; } - std::string getTypeName() const override { return "HashedDictionary"; } + std::string getTypeName() const override { return "Hashed"; } std::size_t getBytesAllocated() const override { return bytes_allocated; }