return ((ObjectStoreItemReader) srcItemReader).itemIterator(q, 100);
return ((ObjectStoreItemReader) srcItemReader).itemIterator(q, 1000);
     public Iterator getItemIterator() throws ObjectStoreException {         Query q = new Query();         q.setDistinct(false);         QueryClass qc1 = new QueryClass(org.intermine.model.fulldata.Item.class);         q.addFrom(qc1);         q.addToSelect(qc1);         SimpleConstraint sc1 = new SimpleConstraint(new QueryField(qc1, "className"),                                   ConstraintOp.EQUALS, new QueryValue(SRC_NS + "Entry"));         q.setConstraint(sc1);         // TODO batch size usually 1000, increase again if ObjectStoreItemPathFollowingImpl query         // generation creates queries that can use bag temprorary tables more effectively         return ((ObjectStoreItemReader) srcItemReader).itemIterator(q, 100);     }