code: public Object next(EntityMetadata m, List<Map<String, Object>> columnsToOutput)
      {
          Object entity = null;
          HBaseDataWrapper result = ((HBaseReader) hbaseReader).next();
          List<HBaseDataWrapper> results = new ArrayList<HBaseDataWrapper>();
          results.add(result);
          try
          {
              List output = onRead(m, columnsToOutput,
                      gethTable(HBaseUtils.getHTableName(m.getSchema(), m.getTableName())), results);
              return output != null && !output.isEmpty() ? output.get(0) : output;
          }
          catch (IOException e)
          {
              logger.error("Error during finding next record, Caused by: .", e);
              throw new KunderaException(e);
          }
      }
docs: Next.
  
  @param m
  the m
  @param columnsToOutput
  the columns to output
  @return the object