| 17 | bool fallbackExtensionTypes); |
| 18 | |
| 19 | ArrowRowBatch::ArrowRowBatch(const std::vector<LogicalType>& types, std::int64_t capacity, |
| 20 | bool fallbackExtensionTypes) |
| 21 | : numTuples{0}, fallbackExtensionTypes{fallbackExtensionTypes} { |
| 22 | vectors.resize(types.size()); |
| 23 | for (auto i = 0u; i < types.size(); i++) { |
| 24 | vectors[i] = std::make_unique<ArrowVector>(); |
| 25 | resizeVector(vectors[i].get(), types[i], capacity, fallbackExtensionTypes); |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | static uint64_t getArrowMainBufferSize(const LogicalType& type, uint64_t capacity, |
| 30 | bool fallbackExtensionTypes) { |
nothing calls this directly
no test coverage detected