package net.sourceforge.jaxor.api;
import java.sql.ResultSet;
/*
* User: Mike
* Date: Aug 18, 2003
* Time: 7:17:55 PM
*/
public interface EntityResultSet {
/**
* Get the encapsulated result set
* @return
*/
ResultSet getResultSet();
boolean hasNext();
EntityInterface next();
void close();
/**
* THIS is NOT the total, unless hasNext() returns false.
* @return the number of records processed so far.
*/
long count();
}
|