}
private static void printResults(){
System.out.println("\n\n========================= R E S U L T S =========================\n");
for(int i=0;i<QueryList.getQList().size();i++){
System.out.println("\n________________________________________________________________________________________________");
GenericQuery gq=(GenericQuery)QueryList.getQList().get(i);
if (gq.getPrepStmtRunResults().size()==0){
System.out.println("Queries didn't run");
System.exit(0);
}
else{
System.out.println("Timings for Query type: "+gq.getDescription()+"\n");
System.out.println("QueryName\tUsing PreparedStatment\tUsing Statement\tRows Expected");
System.out.println("------------------------------------------------------------------------------");
System.out.println("Query size: " + gq.getQueries().size());
for(int k=0;k<gq.getQueries().size();k++){
String queryName="QUERY # "+(k+1);
String[] prepStmtTimes=(String [])gq.getPrepStmtRunResults().get(k);
String [] stmtTimes=(String [])gq.getStmtRunResults().get(k);
for(int j=0; j<StaticValues.ITER;j++){
System.out.println(queryName+"\t"+prepStmtTimes[j]+"\t\t"+stmtTimes[j]+"\t"+gq.getRowsExpected(k));
}
System.out.println("*************************************************************************");
}