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

Method query

src/storage/rkyvtree.rs:148–154  ·  view source on GitHub ↗

Queries the interval tree for all elements overlapping a given interval. This runs in `O(log n + m)`.

(&self, range: Range<K>)

Source from the content-addressed store, hash-verified

146 ///
147 /// This runs in `O(log n + m)`.
148 pub fn query(&self, range: Range<K>) -> QueryIter<K, V> {
149 QueryIter {
150 todo: self.todo(),
151 tree: self,
152 query: Query::Range(range),
153 }
154 }
155
156 /// Queries the interval tree for all elements containing a given point.
157 ///

Callers

nothing calls this directly

Calls 1

todoMethod · 0.80

Tested by

no test coverage detected