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

Class Operation

src/sql/src/func.rs:219–230  ·  view source on GitHub ↗

Builds an expression that evaluates a scalar function on the provided input expressions.

Source from the content-addressed store, hash-verified

217/// Builds an expression that evaluates a scalar function on the provided
218/// input expressions.
219pub struct Operation<R>(
220 pub Box<
221 dyn Fn(
222 &ExprContext,
223 Vec<CoercibleScalarExpr>,
224 &ParamList,
225 Vec<ColumnOrder>,
226 ) -> Result<R, PlanError>
227 + Send
228 + Sync,
229 >,
230);
231
232impl<R> fmt::Debug for Operation<R> {
233 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {

Callers 1

newMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected