if (overflow) {
logger.warn("Query results number [" + resultNumber + "] exceeds max result limit that is [" + maxSize + "]");
auditlogger.info("[" + userProfile.getUserId() + "]:: max result limit [" + maxSize + "] exceeded with SQL: " + sqlQuery);
}
CrossTab crossTab = new CrossTab(dataStore, crosstabDefinition);
JSONObject crossTabDefinition = crossTab.getJSONCrossTab();
try {
writeBackToClient( new JSONSuccess(crossTabDefinition) );
} catch (IOException e) {
String message = "Impossible to write back the responce to the client";