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

Method as_view

src/transform/src/analysis.rs:145–151  ·  view source on GitHub ↗

Recast the derived data as a view that can be subdivided into views over child state.

(&'a self)

Source from the content-addressed store, hash-verified

143
144 /// Recast the derived data as a view that can be subdivided into views over child state.
145 pub fn as_view<'a>(&'a self) -> DerivedView<'a> {
146 DerivedView {
147 derived: self,
148 lower: 0,
149 upper: self.results::<SubtreeSize>().len(),
150 }
151 }
152 }
153
154 /// The subset of a `Derived` corresponding to an expression and its children.

Callers 7

deriveMethod · 0.80
refresh_typesFunction · 0.80
actionMethod · 0.80

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected