/src/duckdb/src/parser/statement/copy_statement.cpp
Line | Count | Source |
1 | | #include "duckdb/parser/statement/copy_statement.hpp" |
2 | | |
3 | | namespace duckdb { |
4 | | |
5 | 0 | CopyStatement::CopyStatement() : SQLStatement(StatementType::COPY_STATEMENT), info(make_uniq<CopyInfo>()) { |
6 | 0 | } |
7 | | |
8 | 0 | CopyStatement::CopyStatement(const CopyStatement &other) : SQLStatement(other), info(other.info->Copy()) { |
9 | 0 | } |
10 | | |
11 | 0 | string CopyStatement::ToString() const { |
12 | 0 | return info->ToString(); |
13 | 0 | } |
14 | | |
15 | 0 | unique_ptr<SQLStatement> CopyStatement::Copy() const { |
16 | 0 | return unique_ptr<CopyStatement>(new CopyStatement(*this)); |
17 | 0 | } |
18 | | |
19 | | } // namespace duckdb |