1//===----------------------------------------------------------------------===//
2// DuckDB
3//
4// duckdb/common/arrow/arrow_converter.hpp
5//
6//
7//===----------------------------------------------------------------------===//
8
9#pragma once
10
11#include "duckdb/common/types/data_chunk.hpp"
12#include "duckdb/common/arrow/arrow.hpp"
13#include "duckdb/common/arrow/arrow_options.hpp"
14
15struct ArrowSchema;
16
17namespace duckdb {
18
19struct ArrowConverter {
20 DUCKDB_API static void ToArrowSchema(ArrowSchema *out_schema, const vector<LogicalType> &types,
21 const vector<string> &names, const ArrowOptions &options);
22 DUCKDB_API static void ToArrowArray(DataChunk &input, ArrowArray *out_array, ArrowOptions options);
23};
24
25} // namespace duckdb
26