| 519 | } |
| 520 | |
| 521 | void WriteBloomFilter() { |
| 522 | if (bloom_filter_builder_ != nullptr) { |
| 523 | if (properties_->file_encryption_properties()) { |
| 524 | ParquetException::NYI("Encryption is not currently supported with bloom filter"); |
| 525 | } |
| 526 | // Serialize bloom filter after all row groups have been written and report |
| 527 | // location to the file metadata. |
| 528 | auto locations = bloom_filter_builder_->WriteTo(sink_.get()); |
| 529 | metadata_->SetIndexLocations(IndexKind::kBloomFilter, locations); |
| 530 | } |
| 531 | } |
| 532 | |
| 533 | std::shared_ptr<ArrowOutputStream> sink_; |
| 534 | bool is_open_; |
nothing calls this directly
no test coverage detected