aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Interpreters/RewriteCountVariantsVisitor.h
blob: 36c026bdfd78f94a83d9da61929e61dea76e6db5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include <Parsers/IAST.h>
#include <Interpreters/Context_fwd.h>

namespace DB
{

class ASTFunction;

class RewriteCountVariantsVisitor
{
public:
    explicit RewriteCountVariantsVisitor(ContextPtr context_) : context(context_) {}
    void visit(ASTPtr &);
    void visit(ASTFunction &);
private:
    ContextPtr context;
};

}