Skip to main content

OpTransform

Trait OpTransform 

Source
pub trait OpTransform {
Show 21 methods // Provided methods fn transform_bgp(&mut self, op: OpBGP) -> Op { ... } fn transform_triple(&mut self, op: OpTriple) -> Op { ... } fn transform_join(&mut self, left: Op, right: Op, _original: &OpJoin) -> Op { ... } fn transform_left_join( &mut self, left: Op, right: Op, original: &OpLeftJoin, ) -> Op { ... } fn transform_right_join( &mut self, left: Op, right: Op, original: &OpRightJoin, ) -> Op { ... } fn transform_cross_join( &mut self, left: Op, right: Op, _original: &OpCrossJoin, ) -> Op { ... } fn transform_intersect( &mut self, left: Op, right: Op, _original: &OpIntersect, ) -> Op { ... } fn transform_filter(&mut self, sub_op: Op, original: &OpFilter) -> Op { ... } fn transform_union( &mut self, left: Op, right: Op, _original: &OpUnion, ) -> Op { ... } fn transform_project(&mut self, sub_op: Op, original: &OpProject) -> Op { ... } fn transform_distinct(&mut self, sub_op: Op, _original: &OpDistinct) -> Op { ... } fn transform_reduced(&mut self, sub_op: Op, _original: &OpReduced) -> Op { ... } fn transform_slice(&mut self, sub_op: Op, original: &OpSlice) -> Op { ... } fn transform_order(&mut self, sub_op: Op, original: &OpOrder) -> Op { ... } fn transform_group(&mut self, sub_op: Op, original: &OpGroup) -> Op { ... } fn transform_extend(&mut self, sub_op: Op, original: &OpExtend) -> Op { ... } fn transform_minus( &mut self, left: Op, right: Op, _original: &OpMinus, ) -> Op { ... } fn transform_table(&mut self, op: OpTable) -> Op { ... } fn transform_sequence(&mut self, ops: Vec<Op>, _original: &OpSequence) -> Op { ... } fn transform_disjunction( &mut self, ops: Vec<Op>, _original: &OpDisjunction, ) -> Op { ... } fn transform_null(&mut self, op: OpNull) -> Op { ... }
}
Expand description

Transformer trait for transforming Op trees

Provided Methods§

Source

fn transform_bgp(&mut self, op: OpBGP) -> Op

Transform BGP

Source

fn transform_triple(&mut self, op: OpTriple) -> Op

Transform triple

Source

fn transform_join(&mut self, left: Op, right: Op, _original: &OpJoin) -> Op

Transform join

Source

fn transform_left_join( &mut self, left: Op, right: Op, original: &OpLeftJoin, ) -> Op

Transform left join

Source

fn transform_right_join( &mut self, left: Op, right: Op, original: &OpRightJoin, ) -> Op

Transform right join

Source

fn transform_cross_join( &mut self, left: Op, right: Op, _original: &OpCrossJoin, ) -> Op

Transform cross join

Source

fn transform_intersect( &mut self, left: Op, right: Op, _original: &OpIntersect, ) -> Op

Transform intersect

Source

fn transform_filter(&mut self, sub_op: Op, original: &OpFilter) -> Op

Transform filter

Source

fn transform_union(&mut self, left: Op, right: Op, _original: &OpUnion) -> Op

Transform union

Source

fn transform_project(&mut self, sub_op: Op, original: &OpProject) -> Op

Transform project

Source

fn transform_distinct(&mut self, sub_op: Op, _original: &OpDistinct) -> Op

Transform distinct

Source

fn transform_reduced(&mut self, sub_op: Op, _original: &OpReduced) -> Op

Transform reduced

Source

fn transform_slice(&mut self, sub_op: Op, original: &OpSlice) -> Op

Transform slice

Source

fn transform_order(&mut self, sub_op: Op, original: &OpOrder) -> Op

Transform order

Source

fn transform_group(&mut self, sub_op: Op, original: &OpGroup) -> Op

Transform group

Source

fn transform_extend(&mut self, sub_op: Op, original: &OpExtend) -> Op

Transform extend

Source

fn transform_minus(&mut self, left: Op, right: Op, _original: &OpMinus) -> Op

Transform minus

Source

fn transform_table(&mut self, op: OpTable) -> Op

Transform table

Source

fn transform_sequence(&mut self, ops: Vec<Op>, _original: &OpSequence) -> Op

Transform sequence

Source

fn transform_disjunction( &mut self, ops: Vec<Op>, _original: &OpDisjunction, ) -> Op

Transform disjunction

Source

fn transform_null(&mut self, op: OpNull) -> Op

Transform null

Implementors§