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

Method FinishPageIndexes

cpp/src/parquet/column_writer.cc:521–528  ·  view source on GitHub ↗

\brief Finish page index builders and update the stream offset to adjust page offsets.

Source from the content-addressed store, hash-verified

519 /// \brief Finish page index builders and update the stream offset to adjust
520 /// page offsets.
521 void FinishPageIndexes(int64_t final_position) {
522 if (column_index_builder_ != nullptr) {
523 column_index_builder_->Finish();
524 }
525 if (offset_index_builder_ != nullptr) {
526 offset_index_builder_->Finish(final_position);
527 }
528 }
529
530 bool has_compressor() override { return (compressor_ != nullptr); }
531

Callers 1

CloseMethod · 0.80

Calls 1

FinishMethod · 0.45

Tested by

no test coverage detected