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

Method iter

src/catalog/src/memory/objects.rs:3041–3050  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

3039 }
3040
3041 pub fn iter(&self) -> impl Iterator<Item = (CommentObjectId, Option<usize>, &str)> {
3042 self.map
3043 .iter()
3044 .map(|(id, comments)| {
3045 comments
3046 .iter()
3047 .map(|(pos, comment)| (*id, *pos, comment.as_str()))
3048 })
3049 .flatten()
3050 }
3051
3052 pub fn get_object_comments(
3053 &self,

Callers 15

into_protoMethod · 0.45
indexes_onMethod · 0.45
index_dataflow_structureFunction · 0.45
groupFunction · 0.45
body_textFunction · 0.45
rows_from_bodyFunction · 0.45

Calls 4

flattenMethod · 0.45
mapMethod · 0.45
as_strMethod · 0.45
valuesMethod · 0.45