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

Method query_not_equal

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

Not equal query.

(&self, key: &[u8])

Source from the content-addressed store, hash-verified

359
360 /// Not equal query.
361 pub async fn query_not_equal(&self, key: &[u8]) -> io::Result<RoaringTreemap> {
362 let mut result = self.all_non_null_rows().await?;
363 let equal = self.query_equal(key).await?;
364 result -= equal;
365 Ok(result)
366 }
367}
368
369/// Read null bitmap from a FileRead at the given handle.

Callers 2

test_not_equal_queryFunction · 0.80
queryMethod · 0.80

Calls 2

all_non_null_rowsMethod · 0.80
query_equalMethod · 0.80

Tested by 1

test_not_equal_queryFunction · 0.64