1 56 package org.objectstyle.cayenne.access; 57 58 import java.util.List ; 59 import java.util.Map ; 60 61 import org.objectstyle.cayenne.CayenneException; 62 import org.objectstyle.cayenne.map.DbEntity; 63 64 76 public interface ResultIterator { 77 78 82 public List dataRows(boolean close) throws CayenneException; 83 84 88 public boolean hasNextRow() throws CayenneException; 89 90 93 public Map nextDataRow() throws CayenneException; 94 95 101 public Map nextObjectId(DbEntity entity) throws CayenneException; 102 103 106 public void skipDataRow() throws CayenneException; 107 108 113 public void close() throws CayenneException; 114 115 120 public int getDataRowWidth(); 121 } 122 123 | Popular Tags |