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

Method WriteBloomFilter

cpp/src/parquet/file_writer.cc:521–531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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