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

Method WritePageIndex

cpp/src/parquet/file_writer.cc:508–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506 }
507
508 void WritePageIndex() {
509 if (page_index_builder_ != nullptr) {
510 // Serialize page index after all row groups have been written and report
511 // location to the file metadata.
512 page_index_builder_->Finish();
513 auto write_result = page_index_builder_->WriteTo(sink_.get());
514 metadata_->SetIndexLocations(IndexKind::kColumnIndex,
515 write_result.column_index_locations);
516 metadata_->SetIndexLocations(IndexKind::kOffsetIndex,
517 write_result.offset_index_locations);
518 }
519 }
520
521 void WriteBloomFilter() {
522 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