MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / mark_deleted_batch

Method mark_deleted_batch

nodedb-columnar/src/delete_bitmap.rs:39–43  ·  view source on GitHub ↗

Mark multiple rows as deleted.

(&mut self, row_indices: &[u32])

Source from the content-addressed store, hash-verified

37
38 /// Mark multiple rows as deleted.
39 pub fn mark_deleted_batch(&mut self, row_indices: &[u32]) {
40 for &idx in row_indices {
41 self.inner.insert(idx);
42 }
43 }
44
45 /// Check whether a row is deleted.
46 pub fn is_deleted(&self, row_idx: u32) -> bool {

Callers 6

batch_deleteFunction · 0.80
serialization_roundtripFunction · 0.80
apply_to_validityFunction · 0.80
merge_bitmapsFunction · 0.80
merge_multiple_segmentsFunction · 0.80
plain_columnar_purgeMethod · 0.80

Calls 1

insertMethod · 0.45

Tested by 5

batch_deleteFunction · 0.64
serialization_roundtripFunction · 0.64
apply_to_validityFunction · 0.64
merge_bitmapsFunction · 0.64
merge_multiple_segmentsFunction · 0.64