+ ", response time: " + (((float)(status.getFinishTime() - status.getSubmitTime()) / 1000.0)
+ " sec"));
if (status.hasResult()) {
ClientProtos.GetQueryResultResponse response = client.getResultResponse(queryId);
ResultSet res = TajoClient.createResultSet(client, queryId, response);
TableDesc desc = new TableDesc(response.getTableDesc());
long totalRowNum = desc.getStats().getNumRows();
long totalBytes = desc.getStats().getNumBytes();
printResult(res, totalRowNum, totalBytes);
} else {
sout.println("OK");
}
}