// ElementGraph graph = new HashJoinSameSourceGraph();
ElementGraph graph = new JoinAroundJoinRightMostGraph();
graph.writeDOT( getPlanPath() + "/full.dot" );
// graph = new ContractedTransform( new SyncPipeExpressionGraph() ).transform( graph ).getEndGraph();
graph = new ContractedTransformer( new NoGroupTapExpressionGraph() ).transform( graph ).getEndGraph();
graph.writeDOT( getPlanPath() + "/contracted.dot" );
ExpressionGraph expressionGraph = new ExpressionGraph( new FlowElementExpression( ElementCapture.Primary, Tap.class ) );