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

Method UpdateDecryption

cpp/src/parquet/column_reader.cc:370–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370void SerializedPageReader::UpdateDecryption(Decryptor* decryptor, int8_t module_type,
371 std::string* page_aad) {
372 ARROW_DCHECK(decryptor != nullptr);
373 if (crypto_ctx_.start_decrypt_with_dictionary_page) {
374 UpdateDecryptor(decryptor, crypto_ctx_.row_group_ordinal, crypto_ctx_.column_ordinal,
375 module_type);
376 } else {
377 encryption::QuickUpdatePageAad(page_ordinal_, page_aad);
378 decryptor->UpdateAad(*page_aad);
379 }
380}
381
382bool SerializedPageReader::ShouldSkipPage(EncodedStatistics* data_page_statistics) {
383 const PageType::type page_type = LoadEnumSafe(&current_page_header_.type);

Callers

nothing calls this directly

Calls 2

UpdateDecryptorFunction · 0.85
QuickUpdatePageAadFunction · 0.50

Tested by

no test coverage detected