mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 12:32:04 +00:00
21 lines
397 B
C++
21 lines
397 B
C++
#pragma once
|
|
|
|
#include <Parsers/IParserBase.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/** Parses queries of the form
|
|
* SHOW [EXTENDED] INDEX|INDEXES|KEYS FROM|IN tbl [FROM|IN db] [WHERE expr]
|
|
*/
|
|
class ParserShowIndexesQuery : public IParserBase
|
|
{
|
|
protected:
|
|
const char * getName() const override { return "SHOW INDEXES query"; }
|
|
|
|
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
|
|
};
|
|
|
|
}
|
|
|