| 1328 | int64_t Close() override { return ColumnWriterImpl::Close(); } |
| 1329 | |
| 1330 | int64_t WriteBatch(int64_t num_values, const int16_t* def_levels, |
| 1331 | const int16_t* rep_levels, const T* values) override { |
| 1332 | if (ARROW_PREDICT_FALSE(content_defined_chunker_ != nullptr)) { |
| 1333 | throw ParquetException( |
| 1334 | "Content-defined chunking is not supported in WriteBatch() or " |
| 1335 | "WriteBatchSpaced(), use WriteArrow() instead."); |
| 1336 | } |
| 1337 | return WriteBatchInternal(num_values, def_levels, rep_levels, values); |
| 1338 | } |
| 1339 | |
| 1340 | int64_t WriteBatchInternal(int64_t num_values, const int16_t* def_levels, |
| 1341 | const int16_t* rep_levels, const T* values) { |