code: def next(self):
          
          if self._records_iter >= len(self._records):
              raise StopIteration
          self._records_iter += 1
          return self._records[self._records_iter - 1]
docs: Return one of record in this batch in out-of-order.
  
          :raises: `StopIteration` when no more record is in this batch