mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 18:14:03 +00:00
33 lines
594 B
C++
33 lines
594 B
C++
#pragma once
|
|
|
|
#include <DB/Parsers/IAST.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
|
|
/** SELECT запрос
|
|
*/
|
|
class ASTSelectQuery : public IAST
|
|
{
|
|
public:
|
|
ASTPtr select_expression_list;
|
|
ASTPtr database;
|
|
ASTPtr table;
|
|
ASTPtr where_expression;
|
|
ASTPtr group_expression_list;
|
|
ASTPtr having_expression;
|
|
ASTPtr order_expression_list;
|
|
ASTPtr limit_offset;
|
|
ASTPtr limit_length;
|
|
|
|
ASTSelectQuery() {}
|
|
ASTSelectQuery(StringRange range_) : IAST(range_) {}
|
|
|
|
/** Получить текст, который идентифицирует этот элемент. */
|
|
String getID() { return "SelectQuery"; };
|
|
};
|
|
|
|
}
|