ps.println("# New Logical Plan:");
ps.println("#-----------------------------------------------");
if (format.equals("dot")) {
DotLOPrinter lpp = new DotLOPrinter(this, ps);
lpp.dump();
} else {
LogicalPlanPrinter npp = new LogicalPlanPrinter(this, ps);
npp.visit();
}
}