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

Method new

nodedb-cluster/src/distributed_spatial/coordinator.rs:31–38  ·  view source on GitHub ↗
(source_node: u64, shard_ids: Vec<u32>)

Source from the content-addressed store, hash-verified

29
30impl SpatialScatterGather {
31 pub fn new(source_node: u64, shard_ids: Vec<u32>) -> Self {
32 let count = shard_ids.len();
33 Self {
34 source_node,
35 shard_ids,
36 merger: SpatialResultMerger::new(count),
37 }
38 }
39
40 /// Build scatter envelopes for a spatial query.
41 ///

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected