1//===----------------------------------------------------------------------===//
2// DuckDB
3//
4// duckdb/parser/statement/relation_statement.hpp
5//
6//
7//===----------------------------------------------------------------------===//
8
9#pragma once
10
11#include "duckdb/parser/sql_statement.hpp"
12#include "duckdb/main/relation.hpp"
13
14namespace duckdb {
15
16class RelationStatement : public SQLStatement {
17public:
18 static constexpr const StatementType TYPE = StatementType::RELATION_STATEMENT;
19
20public:
21 explicit RelationStatement(shared_ptr<Relation> relation);
22
23 shared_ptr<Relation> relation;
24
25protected:
26 RelationStatement(const RelationStatement &other) = default;
27
28public:
29 unique_ptr<SQLStatement> Copy() const override;
30};
31
32} // namespace duckdb
33