MCPcopy Create free account
hub / github.com/apache/datafusion / new

Method new

datafusion/expr/src/higher_order_function.rs:105–111  ·  view source on GitHub ↗

Creates a new `HigherOrderSignature` from a given type signature and volatility.

(type_signature: HigherOrderTypeSignature, volatility: Volatility)

Source from the content-addressed store, hash-verified

103impl HigherOrderSignature {
104 /// Creates a new `HigherOrderSignature` from a given type signature and volatility.
105 pub fn new(type_signature: HigherOrderTypeSignature, volatility: Volatility) -> Self {
106 HigherOrderSignature {
107 type_signature,
108 volatility,
109 lambda_parameters_max_iterations: LAMBDA_PARAMETERS_MAX_ITERATIONS,
110 }
111 }
112
113 /// User-defined coercion rules for the function.
114 pub fn user_defined(volatility: Volatility) -> Self {

Callers

nothing calls this directly

Calls 13

newFunction · 0.85
collectMethod · 0.80
to_vecMethod · 0.80
clonedMethod · 0.45
iterMethod · 0.45
fieldsMethod · 0.45
cloneMethod · 0.45
aliasesMethod · 0.45
extendMethod · 0.45
mapMethod · 0.45
into_iterMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected