Run the MBR predicate against every segment + the memtable. Returns decoded tile payloads in segment-then-memtable order.
(
&self,
pred: &MbrQueryPredicate,
)
| 202 | /// Run the MBR predicate against every segment + the memtable. |
| 203 | /// Returns decoded tile payloads in segment-then-memtable order. |
| 204 | pub fn scan_tiles( |
| 205 | &self, |
| 206 | pred: &MbrQueryPredicate, |
| 207 | ) -> Result<Vec<TilePayload>, nodedb_array::ArrayError> { |
| 208 | Ok(self |
| 209 | .scan_tiles_with_hilbert_prefix(pred)? |
| 210 | .into_iter() |
| 211 | .map(|(_hp, tile)| tile) |
| 212 | .collect()) |
| 213 | } |
| 214 | |
| 215 | /// Like `scan_tiles` but also returns the tile's `hilbert_prefix` so |
| 216 | /// callers can apply per-shard Hilbert-range filters (distributed agg). |
nothing calls this directly
no test coverage detected