FlowElementExpression sharedHashJoin = new FlowElementExpression( HashJoin.class );
ExpressionGraph expressionGraph = new ExpressionGraph()
.arc( sharedTap, ScopeExpression.ALL, sharedHashJoin );
GraphFinder graphFinder = new GraphFinder( expressionGraph );
Match match = graphFinder.findFirstMatch( graph );
match.getMatchedGraph().writeDOT( getPlanPath() + "/match.dot" );
}