aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Parsers/SelectUnionMode.h
blob: 5c72ce65eb2f92be2af1897eba5b25a026e951f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#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>;

}