1 19 20 package org.apache.cayenne.access; 21 22 import java.util.List ; 23 import java.util.Map ; 24 25 import org.apache.cayenne.CayenneException; 26 import org.apache.cayenne.map.DbEntity; 27 28 40 public interface ResultIterator { 41 42 46 public List dataRows(boolean close) throws CayenneException; 47 48 52 public boolean hasNextRow() throws CayenneException; 53 54 57 public Map nextDataRow() throws CayenneException; 58 59 65 public Map nextObjectId(DbEntity entity) throws CayenneException; 66 67 70 public void skipDataRow() throws CayenneException; 71 72 77 public void close() throws CayenneException; 78 79 84 public int getDataRowWidth(); 85 } 86 87 | Popular Tags |