public static final FlowElementExpression SHARED_GROUP = new FlowElementExpression( Group.class );
public BalanceGroupSplitExpression()
{
super(
new SyncPipeExpressionGraph(),
// in order to capture out degree in sub-graph, we need to capture at least two successors
new ExpressionGraph()
.arcs( SHARED_GROUP, or( new FlowElementExpression( HashJoin.class ), new FlowElementExpression( Group.class ), new FlowElementExpression( Tap.class ) ) )
.arcs( SHARED_GROUP, or( new FlowElementExpression( HashJoin.class ), new FlowElementExpression( Group.class ), new FlowElementExpression( Tap.class ) ) ),