} catch (Exception e) {
Logger.error(ESContentFactoryImpl.class,e.getMessage(),e);
throw new DotDataException(e.getMessage(), e);
}
List<Map<String, Serializable>> res = new ArrayList<Map<String,Serializable>>();
Criteria c = query.getCriteria();
StringBuilder bob = new StringBuilder();
List<Object> params = null;
bob.append("SELECT ");
if(UtilMethods.isSet(query.getSelectAttributes())){