ClickHouse/src/Parsers/ParserShowIndexesQuery.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
397 B
C++
Raw Normal View History

2023-04-25 18:04:19 +00:00
#pragma once
#include <Parsers/IParserBase.h>
namespace DB
{
/** Parses queries of the form
2023-04-26 09:46:35 +00:00
* SHOW [EXTENDED] INDEX|INDEXES|KEYS FROM|IN tbl [FROM|IN db] [WHERE expr]
2023-04-25 18:04:19 +00:00
*/
class ParserShowIndexesQuery : public IParserBase
{
protected:
const char * getName() const override { return "SHOW INDEXES query"; }
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
};
}