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