| 368 | } |
| 369 | |
| 370 | void 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 | |
| 382 | bool SerializedPageReader::ShouldSkipPage(EncodedStatistics* data_page_statistics) { |
| 383 | const PageType::type page_type = LoadEnumSafe(¤t_page_header_.type); |
nothing calls this directly
no test coverage detected