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

Method get

nodedb-columnar/src/pk_index.rs:78–80  ·  view source on GitHub ↗

Look up a row location by PK.

(&self, pk_bytes: &[u8])

Source from the content-addressed store, hash-verified

76
77 /// Look up a row location by PK.
78 pub fn get(&self, pk_bytes: &[u8]) -> Option<&RowLocation> {
79 self.inner.get(pk_bytes)
80 }
81
82 /// Remove a PK entry (used when a row is deleted and compacted away).
83 pub fn remove(&mut self, pk_bytes: &[u8]) -> Option<RowLocation> {

Callers 15

dict_eval_eqFunction · 0.45
dict_eval_neFunction · 0.45
make_dict_colFunction · 0.45
make_decoded_colFunction · 0.45
bulk_insertFunction · 0.45
remap_segmentFunction · 0.45
serialization_roundtripFunction · 0.45
pushMethod · 0.45
push_refMethod · 0.45
try_dict_encodeMethod · 0.45
pushMethod · 0.45

Calls

no outgoing calls

Tested by 5

bulk_insertFunction · 0.36
remap_segmentFunction · 0.36
serialization_roundtripFunction · 0.36
memtable_flush_remaps_pkFunction · 0.36