MCPcopy Create free account
hub / github.com/apache/arrow / WriteBatch

Method WriteBatch

cpp/src/parquet/column_writer.cc:1331–1339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

TESTFunction · 0.45
stream_writer.ccFile · 0.45
WriteNullValueMethod · 0.45
TYPED_TESTFunction · 0.45
TEST_FFunction · 0.45
TestWithEncodingMethod · 0.45
TESTFunction · 0.45
ASSERT_OK_AND_ASSIGNFunction · 0.45

Calls 1

ParquetExceptionFunction · 0.85

Tested by 15

TESTFunction · 0.36
TYPED_TESTFunction · 0.36
TEST_FFunction · 0.36
TestWithEncodingMethod · 0.36
TESTFunction · 0.36
ASSERT_OK_AND_ASSIGNFunction · 0.36
TestFullRoundtripMethod · 0.36
WriteParquetMethod · 0.36