MCPcopy Create free account
hub / github.com/elastic/devfiler / iter

Method iter

src/storage/table.rs:200–207  ·  view source on GitHub ↗

Iterate over all key-value pairs in the database. Iteration is performed in ascending, **lexicographic** order after converting the key into a byte array. The order thus depends on how your [`TableKey`] implementation chose to represent the fields in the output array.

(&self)

Source from the content-addressed store, hash-verified

198 /// your [`TableKey`] implementation chose to represent the fields in
199 /// the output array.
200 fn iter(&self) -> Iter<'_, Self> {
201 let mut raw = self.raw().raw_iterator();
202 raw.seek_to_first();
203 Iter {
204 raw,
205 _marker: PhantomData,
206 }
207 }
208
209 /// Iterate over key-value pairs in the `[start, end)` range.
210 fn range(&self, start: Self::Key, end: Self::Key) -> Iter<Self> {

Callers 15

tailFunction · 0.80
flush_eventsMethod · 0.80
wrap_mergeFunction · 0.80
line_number_for_vaMethod · 0.80
mk_time_gridFunction · 0.80
weight_childrenMethod · 0.80
insert_traceMethod · 0.80
insert_caller_pathFunction · 0.80
bitsMethod · 0.80
query_top_funcsFunction · 0.80
draw_msg_listMethod · 0.80
draw_meta_tableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected