aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Analyzer/Passes/ConvertQueryToCNFPass.h
blob: 5ed874db006a5d839c5f53c30ed13b1ce3213705 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <Analyzer/IQueryTreePass.h>

namespace DB
{

class ConvertLogicalExpressionToCNFPass final : public IQueryTreePass
{
public:
    String getName() override { return "ConvertLogicalExpressionToCNFPass"; }

    String getDescription() override { return "Convert logical expression to CNF and apply optimizations using constraints"; }

    void run(QueryTreeNodePtr query_tree_node, ContextPtr context) override;
};

}