2011-08-09 15:57:33 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <string>
|
2018-11-19 14:31:16 +00:00
|
|
|
#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
|
|
|
|
{
|
|
|
|
|
2016-05-28 10:35:44 +00:00
|
|
|
using Names = std::vector<std::string>;
|
|
|
|
using NameSet = std::unordered_set<std::string>;
|
2018-11-19 14:31:16 +00:00
|
|
|
using NameOrderedSet = std::set<std::string>;
|
2016-05-28 10:35:44 +00:00
|
|
|
using NameToNameMap = std::unordered_map<std::string, std::string>;
|
2018-07-26 12:58:23 +00:00
|
|
|
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
|
|
|
|
2019-09-04 16:20:02 +00:00
|
|
|
using NameWithAlias = std::pair<std::string, std::string>;
|
|
|
|
using NamesWithAliases = std::vector<NameWithAlias>;
|
|
|
|
|
2011-08-09 15:57:33 +00:00
|
|
|
}
|