code: protected Record next(Writer writer) {
          Value value = recordIte.next();
  
          if (valuesLabels != null) {
              int i = 0;
              for (ValueWritable vw : value.getValues()) {
                  vw.getLabel().set(valuesLabels[i++]);
              }
          }
  
          currentRecord.setValue(value);
          writer.setDefaultRecord(currentRecord);
          return currentRecord;
      }
docs: Returns the next {@link Record} in the iteration.
  @param writer the output using the writer.
  @return the next {@link Record} in the iteration.