MCPcopy Create free account
hub / github.com/apache/paimon-rust / all_non_null_rows

Method all_non_null_rows

crates/paimon/src/btree/reader.rs:103–114  ·  view source on GitHub ↗

Collect all non-null row ids into a bitmap.

(&self)

Source from the content-addressed store, hash-verified

101
102 /// Collect all non-null row ids into a bitmap.
103 pub async fn all_non_null_rows(&self) -> io::Result<RoaringTreemap> {
104 if self.min_key.is_none() {
105 return Ok(RoaringTreemap::new());
106 }
107 self.range_query(
108 self.min_key.as_deref().unwrap(),
109 self.max_key.as_deref().unwrap(),
110 true,
111 true,
112 )
113 .await
114 }
115
116 /// Range query: returns a bitmap of all row ids whose keys fall in [from, to]
117 /// with configurable inclusivity. Reads data blocks on demand.

Callers 11

test_null_keysFunction · 0.80
test_zstd_compressionFunction · 0.80
test_single_entryFunction · 0.80
query_not_equalMethod · 0.80
queryMethod · 0.80

Calls 1

range_queryMethod · 0.80

Tested by 9

test_null_keysFunction · 0.64
test_zstd_compressionFunction · 0.64
test_single_entryFunction · 0.64