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