protected function executeAndGetResultsAsEntityIterator(PreparableSqlInterface $query)
    {
        $entities = $this->execute($query)
            ->toEntityArray();

        return new EntityIterator($entities);
    }