Trait mz_transform::Transform
source · pub trait Transform: Debug {
// Required method
fn transform(
&self,
relation: &mut MirRelationExpr,
ctx: &mut TransformCtx<'_>,
) -> Result<(), TransformError>;
// Provided method
fn debug(&self) -> String { ... }
}
Expand description
Types capable of transforming relation expressions.
Required Methods§
sourcefn transform(
&self,
relation: &mut MirRelationExpr,
ctx: &mut TransformCtx<'_>,
) -> Result<(), TransformError>
fn transform( &self, relation: &mut MirRelationExpr, ctx: &mut TransformCtx<'_>, ) -> Result<(), TransformError>
Transform a relation into a functionally equivalent relation.