for (LogicalOperator so : splitOutputs) {
if (!(so instanceof LOSplitOutput)) {
String msg = "Found an LOSplit with an operator other "
+ "than LOSplitOutput after it!";
log.error(msg);
throw new VisitorException(msg);
}
plans.add(((LOSplitOutput)so).getConditionPlan());
}
} else if (before instanceof LOForEach) {
plans.addAll(((LOForEach)before).getForEachPlans());