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


#include <Parsers/IParserBase.h>
#include <Parsers/ExpressionElementParsers.h>


namespace DB
{

/** Query (DESCRIBE | DESC) FILESYSTEM CACHE 'cache_name'
 */
class ParserDescribeCacheQuery : public IParserBase
{
protected:
    const char * getName() const override { return "DESCRIBE FILESYSTEM CACHE query"; }
    bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
};

}