This would not work, you'll loose '_id' value.
You should fetch data into local variable and it further:
```
$data = $this->getData();
$this->getCollection()->batchInsert($data);
foreach ($data as $alias => $row) {
}
```