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

Method UpdateDecryption

cpp/src/parquet/column_reader.cc:335–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335void SerializedPageReader::UpdateDecryption(Decryptor* decryptor, int8_t module_type,
336 std::string* page_aad) {
337 ARROW_DCHECK(decryptor != nullptr);
338 if (crypto_ctx_.start_decrypt_with_dictionary_page) {
339 UpdateDecryptor(decryptor, crypto_ctx_.row_group_ordinal, crypto_ctx_.column_ordinal,
340 module_type);
341 } else {
342 encryption::QuickUpdatePageAad(page_ordinal_, page_aad);
343 decryptor->UpdateAad(*page_aad);
344 }
345}
346
347bool SerializedPageReader::ShouldSkipPage(EncodedStatistics* data_page_statistics) {
348 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