PatternPlan ptPlan = new PatternPlan();
PatternNode ptFilNode = createPtNode(ptPlan, POFilter.class);
PatternNode ptFENode = createPtNode(ptPlan, POForEach.class);
PatternNode ptStNode = createPtNode(ptPlan, POStore.class);
ptPlan.connect(ptFilNode, ptFENode);
ptPlan.connect(ptFENode, ptStNode);
//create plan fil -> fil -> fe -> store
PhysicalPlan pplan = new PhysicalPlan();
POFilter fil = new POFilter(getNewOpKey());