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

Method new

src/sql/src/func.rs:246–259  ·  view source on GitHub ↗
(f: F)

Source from the content-addressed store, hash-verified

244
245impl<R> Operation<R> {
246 fn new<F>(f: F) -> Operation<R>
247 where
248 F: Fn(
249 &ExprContext,
250 Vec<CoercibleScalarExpr>,
251 &ParamList,
252 Vec<ColumnOrder>,
253 ) -> Result<R, PlanError>
254 + Send
255 + Sync
256 + 'static,
257 {
258 Operation(Box::new(f))
259 }
260
261 /// Builds an operation that takes no arguments.
262 fn nullary<F>(f: F) -> Operation<R>

Callers

nothing calls this directly

Calls 5

enumerateMethod · 0.80
track_seenMethod · 0.80
determine_keyMethod · 0.80
OperationClass · 0.70
iterMethod · 0.45

Tested by

no test coverage detected