code: @Override
      public boolean hasNext()
      {
          if (fetchSize != 0 && (count % fetchSize) == 0)
          {
              try
              {
                  results = populateEntities(entityMetadata, client);
                  count = 0;
              }
              catch (Exception e)
              {
                  throw new PersistenceException("Error while scrolling over results, Caused by :.", e);
              }
          }
          if (results != null && !results.isEmpty() && count < results.size())
          {
              return true;
          }
  
          return false;
      }
docs: /*
  (non-Javadoc)
  
  @see com.impetus.client.cassandra.query.ResultIterator#hasNext()