code: private List<HBaseData> scanResults(final String columnFamily, List<HBaseData> results) throws IOException
      {
          HBaseData data = null;
  
          if (fetchSize == null)
          {
              for (Result result : scanner)
              {
                  List<KeyValue> values = result.list();
                  for (KeyValue value : values)
                  {
                      data = new HBaseData(columnFamily != null ? columnFamily : new String(value.getFamily()),
                              value.getRow());
                      break;
                  }
                  data.setColumns(values);
                  if (results == null)
                  {
                      results = new ArrayList<HBaseData>();
                  }
                  results.add(data);
              }
  
              scanner = null;
              resultsIter = null;
          }
          return results;
      }
docs: Scan and populate {@link HBaseData} collection using scanned results.
  
  @param columnFamily
  column family.
  @param results
  results.
  @param scanner
  result scanner.
  @return collection of scanned results.
  @throws IOException