MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / new

Method new

src/transform/src/join_implementation.rs:546–551  ·  view source on GitHub ↗

Creates a new index map with knowledge of the provided global indexes.

(global: &dyn IndexOracle)

Source from the content-addressed store, hash-verified

544 impl IndexMap<'_> {
545 /// Creates a new index map with knowledge of the provided global indexes.
546 pub fn new(global: &dyn IndexOracle) -> IndexMap<'_> {
547 IndexMap {
548 local: BTreeMap::new(),
549 global,
550 }
551 }
552
553 /// Adds a local index on the specified collection with the specified key.
554 pub fn add_local(&mut self, id: LocalId, key: Vec<MirScalarExpr>) {

Callers

nothing calls this directly

Calls 8

enumerateMethod · 0.80
lookup_inputsMethod · 0.80
anyMethod · 0.80
allMethod · 0.80
lenMethod · 0.45
iterMethod · 0.45
pushMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected