| 502 | } |
| 503 | |
| 504 | void WriteBloomFilter() { |
| 505 | if (bloom_filter_builder_ != nullptr) { |
| 506 | if (properties_->file_encryption_properties()) { |
| 507 | ParquetException::NYI("Encryption is not currently supported with bloom filter"); |
| 508 | } |
| 509 | // Serialize bloom filter after all row groups have been written and report |
| 510 | // location to the file metadata. |
| 511 | auto locations = bloom_filter_builder_->WriteTo(sink_.get()); |
| 512 | metadata_->SetIndexLocations(IndexKind::kBloomFilter, locations); |
| 513 | } |
| 514 | } |
| 515 | |
| 516 | std::shared_ptr<ArrowOutputStream> sink_; |
| 517 | bool is_open_; |
nothing calls this directly
no test coverage detected