def _fill_result_cache(self):
        """
        Fill the result cache with all results.
        """

        idx = 0
        try:
            while True:
                idx += 1000
                self._fill_result_cache_to_idx(idx)
        except __HOLE__:
            pass

        self._count = len(self._result_cache)
dataset/ETHPy150Open datastax/python-driver/cassandra/cqlengine/query.py/AbstractQuerySet._fill_result_cache