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

Method WritePageIndex

cpp/src/parquet/file_writer.cc:491–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

489 }
490
491 void WritePageIndex() {
492 if (page_index_builder_ != nullptr) {
493 // Serialize page index after all row groups have been written and report
494 // location to the file metadata.
495 page_index_builder_->Finish();
496 auto write_result = page_index_builder_->WriteTo(sink_.get());
497 metadata_->SetIndexLocations(IndexKind::kColumnIndex,
498 write_result.column_index_locations);
499 metadata_->SetIndexLocations(IndexKind::kOffsetIndex,
500 write_result.offset_index_locations);
501 }
502 }
503
504 void WriteBloomFilter() {
505 if (bloom_filter_builder_ != nullptr) {

Callers

nothing calls this directly

Calls 4

FinishMethod · 0.45
WriteToMethod · 0.45
getMethod · 0.45
SetIndexLocationsMethod · 0.45

Tested by

no test coverage detected