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

Method query_equal

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

Equal query: returns row ids for the given key.

(&self, key: &[u8])

Source from the content-addressed store, hash-verified

220
221 /// Equal query: returns row ids for the given key.
222 pub async fn query_equal(&self, key: &[u8]) -> io::Result<RoaringTreemap> {
223 self.range_query(key, key, true, true).await
224 }
225
226 /// Less than query.
227 pub async fn query_less_than(&self, key: &[u8]) -> io::Result<RoaringTreemap> {

Callers 15

test_duplicate_keysFunction · 0.80
test_equal_queryFunction · 0.80
test_string_keysFunction · 0.80
test_string_keys_queryFunction · 0.80
test_large_datasetFunction · 0.80
test_zstd_compressionFunction · 0.80
test_single_entryFunction · 0.80
test_boundary_queriesFunction · 0.80
test_large_row_idsFunction · 0.80
test_many_duplicate_keysFunction · 0.80
test_seek_after_all_keysFunction · 0.80

Calls 1

range_queryMethod · 0.80

Tested by 15

test_duplicate_keysFunction · 0.64
test_equal_queryFunction · 0.64
test_string_keysFunction · 0.64
test_string_keys_queryFunction · 0.64
test_large_datasetFunction · 0.64
test_zstd_compressionFunction · 0.64
test_single_entryFunction · 0.64
test_boundary_queriesFunction · 0.64
test_large_row_idsFunction · 0.64
test_many_duplicate_keysFunction · 0.64
test_seek_after_all_keysFunction · 0.64