ClickHouse/src/Parsers/ParserDescribeCacheQuery.h

21 lines
387 B
C++
Raw Normal View History

2022-06-21 13:42:36 +00:00
#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;
};
}