2010-06-24 19:12:10 +00:00
|
|
|
#ifndef DBMS_PARSERS_ASTSELECTQUERY_H
|
|
|
|
#define DBMS_PARSERS_ASTSELECTQUERY_H
|
|
|
|
|
|
|
|
#include <DB/Parsers/IAST.h>
|
|
|
|
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
/** SELECT запрос
|
|
|
|
*/
|
|
|
|
class ASTSelectQuery : public IAST
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ASTPtr select, from, where, group, having, order, limit;
|
|
|
|
|
2010-06-25 16:36:13 +00:00
|
|
|
ASTSelectQuery() {}
|
2011-08-13 21:05:18 +00:00
|
|
|
ASTSelectQuery(StringRange range_) : IAST(range_) {}
|
2010-06-24 19:12:10 +00:00
|
|
|
|
2011-08-09 19:19:00 +00:00
|
|
|
/** Получить текст, который идентифицирует этот элемент. */
|
|
|
|
String getID() { return "SelectQuery"; };
|
2010-06-24 19:12:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|