1//===----------------------------------------------------------------------===//
2// DuckDB
3//
4// duckdb/main/relation/create_table_relation.hpp
5//
6//
7//===----------------------------------------------------------------------===//
8
9#pragma once
10
11#include "duckdb/main/relation.hpp"
12
13namespace duckdb {
14
15class CreateTableRelation : public Relation {
16public:
17 CreateTableRelation(shared_ptr<Relation> child, string schema_name, string table_name);
18
19 shared_ptr<Relation> child;
20 string schema_name;
21 string table_name;
22 vector<ColumnDefinition> columns;
23
24public:
25 BoundStatement Bind(Binder &binder) override;
26 const vector<ColumnDefinition> &Columns() override;
27 string ToString(idx_t depth) override;
28 bool IsReadOnly() override {
29 return false;
30 }
31};
32
33} // namespace duckdb
34