mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 01:12:12 +00:00
30 lines
585 B
C++
30 lines
585 B
C++
#pragma once
|
|
|
|
#include <Parsers/IAST_fwd.h>
|
|
#include <Parsers/ASTQueryWithOutput.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/// Query SHOW INDEXES
|
|
class ASTShowIndexesQuery : public ASTQueryWithOutput
|
|
{
|
|
public:
|
|
bool extended = false;
|
|
|
|
ASTPtr where_expression;
|
|
|
|
String database;
|
|
String table;
|
|
|
|
String getID(char) const override { return "ShowColumns"; }
|
|
ASTPtr clone() const override;
|
|
QueryKind getQueryKind() const override { return QueryKind::Show; }
|
|
|
|
protected:
|
|
void formatQueryImpl(const FormatSettings & settings, FormatState &, FormatStateStacked) const override;
|
|
};
|
|
|
|
}
|
|
|