1 | //===----------------------------------------------------------------------===// |
2 | // DuckDB |
3 | // |
4 | // duckdb/common/arrow/arrow_options.hpp |
5 | // |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #pragma once |
10 | |
11 | namespace duckdb { |
12 | |
13 | enum ArrowOffsetSize { REGULAR, LARGE }; |
14 | |
15 | struct ArrowOptions { |
16 | explicit ArrowOptions(ArrowOffsetSize offset_size_p) : offset_size(offset_size_p) { |
17 | } |
18 | ArrowOptions(ArrowOffsetSize offset_size_p, string timezone_p) : offset_size(offset_size_p), time_zone(timezone_p) { |
19 | } |
20 | ArrowOptions() { |
21 | } |
22 | ArrowOffsetSize offset_size = ArrowOffsetSize::REGULAR; |
23 | string time_zone = "UTC" ; |
24 | }; |
25 | } // namespace duckdb |
26 | |