| 337 | } |
| 338 | |
| 339 | void SerializedPageReader::UpdateDecryption(Decryptor* decryptor, int8_t module_type, |
| 340 | std::string* page_aad) { |
| 341 | ARROW_DCHECK(decryptor != nullptr); |
| 342 | if (crypto_ctx_.start_decrypt_with_dictionary_page) { |
| 343 | UpdateDecryptor(decryptor, crypto_ctx_.row_group_ordinal, crypto_ctx_.column_ordinal, |
| 344 | module_type); |
| 345 | } else { |
| 346 | encryption::QuickUpdatePageAad(page_ordinal_, page_aad); |
| 347 | decryptor->UpdateAad(*page_aad); |
| 348 | } |
| 349 | } |
| 350 | |
| 351 | bool SerializedPageReader::ShouldSkipPage(EncodedStatistics* data_page_statistics) { |
| 352 | const PageType::type page_type = LoadEnumSafe(¤t_page_header_.type); |
nothing calls this directly
no test coverage detected