MCPcopy Create free account
hub / github.com/apache/arrow / WriteBloomFilter

Method WriteBloomFilter

cpp/src/parquet/file_writer.cc:504–514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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_;

Callers

nothing calls this directly

Calls 4

NYIFunction · 0.85
WriteToMethod · 0.45
getMethod · 0.45
SetIndexLocationsMethod · 0.45

Tested by

no test coverage detected