ClickHouse/src/Core/Names.h

24 lines
594 B
C++
Raw Normal View History

2011-08-09 15:57:33 +00:00
#pragma once
#include <vector>
#include <string>
#include <set>
2014-07-15 09:56:17 +00:00
#include <unordered_set>
#include <unordered_map>
2011-08-09 15:57:33 +00:00
namespace DB
{
using Names = std::vector<std::string>;
using NameSet = std::unordered_set<std::string>;
using NameOrderedSet = std::set<std::string>;
using NameToNameMap = std::unordered_map<std::string, std::string>;
using NameToNameSetMap = std::unordered_map<std::string, NameSet>;
2020-05-13 17:43:30 +00:00
using NameToNameVector = std::vector<std::pair<std::string, std::string>>;
2011-08-09 15:57:33 +00:00
using NameWithAlias = std::pair<std::string, std::string>;
using NamesWithAliases = std::vector<NameWithAlias>;
2011-08-09 15:57:33 +00:00
}