1 | //===----------------------------------------------------------------------===// |
---|---|
2 | // DuckDB |
3 | // |
4 | // duckdb/parser/statement/alter_statement.hpp |
5 | // |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #pragma once |
10 | |
11 | #include "duckdb/parser/column_definition.hpp" |
12 | #include "duckdb/parser/parsed_data/alter_table_info.hpp" |
13 | #include "duckdb/parser/sql_statement.hpp" |
14 | |
15 | namespace duckdb { |
16 | |
17 | class AlterStatement : public SQLStatement { |
18 | public: |
19 | static constexpr const StatementType TYPE = StatementType::ALTER_STATEMENT; |
20 | |
21 | public: |
22 | AlterStatement(); |
23 | |
24 | unique_ptr<AlterInfo> info; |
25 | |
26 | protected: |
27 | AlterStatement(const AlterStatement &other); |
28 | |
29 | public: |
30 | unique_ptr<SQLStatement> Copy() const override; |
31 | }; |
32 | |
33 | } // namespace duckdb |
34 |