code: private List<HBaseDataWrapper> scanResults(final String tableName, List<HBaseDataWrapper> results)
              throws IOException
      {
          if (fetchSize == null)
          {
              for (Result result : scanner)
              {
                  HBaseDataWrapper data = new HBaseDataWrapper(tableName, result.getRow());
                  data.setColumns(result.listCells());
                  results.add(data);
              }
  
              scanner = null;
              resultsIter = null;
          }
          return results;
      }
docs: Scan results.
  
  @param tableName
  the table name
  @param results
  the results
  @return the list
  @throws IOException
  Signals that an I/O exception has occurred.