else if (queryName.equalsIgnoreCase("theta_input_dominated"))
queryPlan = new ThetaInputDominatedPlan(dataPath, extension, conf).getQueryPlan();
else if (queryName.equalsIgnoreCase("theta_output_dominated"))
queryPlan = new ThetaOutputDominatedPlan(dataPath, extension, conf).getQueryPlan();
else if (queryName.equalsIgnoreCase("theta_multiple_join"))
queryPlan = new ThetaMultipleJoinPlan(dataPath, extension, conf).getQueryPlan();
else if (queryName.equalsIgnoreCase("theta_hyracks"))
queryPlan = new ThetaHyracksPlan(dataPath, extension, conf).getQueryPlan();
if (queryPlan == null)
throw new RuntimeException("QueryPlan " + queryName + " doesn't exist in Main.java");
return queryPlan;