@Override
public boolean next() throws java.sql.SQLException
   {
	  while (true)
	  {
		 if (!iter.hasNext())
			 return false;
		 final Backend.RecordInfo rowInfo=iter.next();
		 if(countValue!=null)
		 {
			 currentRow++;
			 return true;
		 }
		 if (conditions.size()>0)
		 {
			 final boolean[] dataLoaded = new boolean[1];
			 dataLoaded[0]=false;
			 if(!fakeTable.recordCompare(rowInfo,conditions,dataLoaded,values))
				 continue;
			 currentRow++;
			 if(!dataLoaded[0])
				 dataLoaded[0]=fakeTable.getRecord(values, rowInfo);
			 if(!dataLoaded[0])
				 return false;
			 return true;
		 }
		 currentRow++;
		 return fakeTable.getRecord(values, rowInfo);
	  }
   }