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

Method new

src/transform/src/analysis.rs:268–276  ·  view source on GitHub ↗

Create a new [`DerivedBuilder`] parameterized by [`OptimizerFeatures`].

(features: &'a OptimizerFeatures)

Source from the content-addressed store, hash-verified

266 impl<'a> DerivedBuilder<'a> {
267 /// Create a new [`DerivedBuilder`] parameterized by [`OptimizerFeatures`].
268 pub fn new(features: &'a OptimizerFeatures) -> Self {
269 // The default builder should include `SubtreeSize` to facilitate navigation.
270 let mut builder = DerivedBuilder {
271 result: Derived::default(),
272 features,
273 };
274 builder.require(SubtreeSize);
275 builder
276 }
277 }
278
279 impl<'a> DerivedBuilder<'a> {

Callers

nothing calls this directly

Calls 1

requireMethod · 0.45

Tested by

no test coverage detected