private Optimizer pickOptimizer(Map map) {
final String optStr = SystemParameters.getString(map, "DIP_OPTIMIZER_TYPE");
LOG.info("Selected optimizer: " + optStr);
if ("INDEX_SIMPLE".equalsIgnoreCase(optStr))
// Simple optimizer provides lefty plans
return new IndexSimpleOptimizer(map);
else if ("INDEX_RULE_BUSHY".equalsIgnoreCase(optStr))
return new IndexRuleOptimizer(map);
else if ("NAME_MANUAL_PAR_LEFTY".equalsIgnoreCase(optStr))
return new NameManualParOptimizer(map);
else if ("NAME_MANUAL_COST_LEFTY".equalsIgnoreCase(optStr))