RuleResult ruleResult = new RuleExec( ruleRegistry ).executeRulePhase( PlanPhase.PreResolveAssembly, plannerContext, new RuleResult( elementGraph ) );
FlowElementGraph flowElementGraph = ruleResult.getAssemblyGraph();
flowElementGraph.writeDOT( getPlanPath() + "/mergejoin.dot" );
ContractedTransformer transformer = new ContractedTransformer( new TestNoGroupTapExpressionGraph() );
Transformed<ElementGraph> transformed = transformer.transform( plannerContext, flowElementGraph );
transformed.writeDOTs( getPlanPath() + "/transform/" );
SubGraphIterator iterator = new ExpressionSubGraphIterator(
new PlannerContext(),
new TestNoGroupTapExpressionGraph(),
new TestConsecutiveTapsExpressionGraph(),
false,
flowElementGraph
);