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

Method FlushBufferedDataPages

cpp/src/parquet/column_writer.cc:1146–1156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1144}
1145
1146void ColumnWriterImpl::FlushBufferedDataPages() {
1147 // Write all outstanding data to a new page
1148 if (num_buffered_values_ > 0) {
1149 AddDataPage();
1150 }
1151 for (const auto& page_ptr : data_pages_) {
1152 WriteDataPage(*page_ptr);
1153 }
1154 data_pages_.clear();
1155 total_compressed_bytes_ = 0;
1156}
1157
1158// ----------------------------------------------------------------------
1159// TypedColumnWriter

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected