ClickHouse/src/Parsers/SelectUnionMode.h
2022-10-24 10:22:18 +02:00

27 lines
451 B
C++

#pragma once
#include <unordered_set>
#include <vector>
namespace DB
{
enum class SelectUnionMode
{
UNION_DEFAULT,
UNION_ALL,
UNION_DISTINCT,
EXCEPT_DEFAULT,
EXCEPT_ALL,
EXCEPT_DISTINCT,
INTERSECT_DEFAULT,
INTERSECT_ALL,
INTERSECT_DISTINCT
};
const char * toString(SelectUnionMode mode);
using SelectUnionModes = std::vector<SelectUnionMode>;
using SelectUnionModesSet = std::unordered_set<SelectUnionMode>;
}