'Outputs the downloaded entities.
Args:
entity_iterator: An iterator that yields the downloaded entities
in sorted order.'

def output_entities(self, entity_iterator):

    for entity in entity_iterator:
        output_dict = self.entity_to_dict(entity, self.bulkload_state)
        if output_dict:
            self.export_recorder.write_dict(output_dict)
