ClickHouse/src/Parsers/ParserDescribeCacheQuery.h
2022-06-21 16:07:39 +02:00

21 lines
387 B
C++

#pragma once
#include <Parsers/IParserBase.h>
#include <Parsers/ExpressionElementParsers.h>
namespace DB
{
/** Query (DESCRIBE | DESC) CACHE 'cache_name'
*/
class ParserDescribeCacheQuery : public IParserBase
{
protected:
const char * getName() const override { return "DESCRIBE CACHE query"; }
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
};
}