| 1370 | } |
| 1371 | |
| 1372 | void WriteBatchSpaced(int64_t num_values, const int16_t* def_levels, |
| 1373 | const int16_t* rep_levels, const uint8_t* valid_bits, |
| 1374 | int64_t valid_bits_offset, const T* values) override { |
| 1375 | if (ARROW_PREDICT_FALSE(properties_->content_defined_chunking_enabled())) { |
| 1376 | throw ParquetException( |
| 1377 | "Content-defined chunking is not supported in WriteBatch() or " |
| 1378 | "WriteBatchSpaced(), use WriteArrow() instead."); |
| 1379 | } |
| 1380 | return WriteBatchSpacedInternal(num_values, def_levels, rep_levels, valid_bits, |
| 1381 | valid_bits_offset, values); |
| 1382 | } |
| 1383 | |
| 1384 | void WriteBatchSpacedInternal(int64_t num_values, const int16_t* def_levels, |
| 1385 | const int16_t* rep_levels, const uint8_t* valid_bits, |