| 333 | } |
| 334 | |
| 335 | void 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 | |
| 347 | bool SerializedPageReader::ShouldSkipPage(EncodedStatistics* data_page_statistics) { |
| 348 | const PageType::type page_type = LoadEnumSafe(¤t_page_header_.type); |
nothing calls this directly
no test coverage detected