pub trait RoutinePlanExpressions {
// Required method
fn evaluate_constant_routine(
&self,
expression: &ScalarExpr,
) -> Result<Value, SQLError>;
}Expand description
Metadata and analysis capabilities borrowed for one optimizer invocation.
Required Methods§
Sourcefn evaluate_constant_routine(
&self,
expression: &ScalarExpr,
) -> Result<Value, SQLError>
fn evaluate_constant_routine( &self, expression: &ScalarExpr, ) -> Result<Value, SQLError>
Execute only an immutable call whose inputs the planner proved constant. The existing runtime boundary retains authorization and session body caches.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".