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

Method get

src/transform/src/join_implementation.rs:563–574  ·  view source on GitHub ↗
(&self, id: Id)

Source from the content-addressed store, hash-verified

561 }
562
563 pub fn get(&self, id: Id) -> Box<dyn Iterator<Item = &[MirScalarExpr]> + '_> {
564 match id {
565 Id::Global(id) => Box::new(self.global.indexes_on(id).map(|(_idx_id, key)| key)),
566 Id::Local(id) => Box::new(
567 self.local
568 .get(&id)
569 .into_iter()
570 .flatten()
571 .map(|x| x.as_slice()),
572 ),
573 }
574 }
575 }
576}
577

Callers 3

actionMethod · 0.45
install_lifted_mfpFunction · 0.45
optimize_order_forMethod · 0.45

Calls 5

as_sliceMethod · 0.80
mapMethod · 0.45
indexes_onMethod · 0.45
flattenMethod · 0.45
into_iterMethod · 0.45

Tested by

no test coverage detected