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

Method scan_tiles_with_hilbert_prefix

nodedb/src/engine/array/read.rs:21–27  ·  view source on GitHub ↗

Like `scan_tiles` but pairs each tile with its Hilbert prefix for per-shard range filtering in distributed aggregate queries.

(
        &self,
        id: &ArrayId,
        pred: &MbrQueryPredicate,
    )

Source from the content-addressed store, hash-verified

19 /// Like `scan_tiles` but pairs each tile with its Hilbert prefix for
20 /// per-shard range filtering in distributed aggregate queries.
21 pub fn scan_tiles_with_hilbert_prefix(
22 &self,
23 id: &ArrayId,
24 pred: &MbrQueryPredicate,
25 ) -> ArrayEngineResult<Vec<(u64, TilePayload)>> {
26 Ok(self.store(id)?.scan_tiles_with_hilbert_prefix(pred)?)
27 }
28}

Callers 1

Calls 1

storeMethod · 0.45

Tested by

no test coverage detected