Bug 196745 Data Engine implementation of BPS80- Result Set Sharing
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ResultIterator.java
import org.eclipse.birt.data.engine.odi.IResultClass;
import org.eclipse.birt.data.engine.odi.IResultObject;
import org.eclipse.birt.data.engine.script.ScriptEvalUtil;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Scriptable;
/**
 * An iterator on a result set from a prepared and executed report query.
 * Multiple ResultIterator objects could be associated with the same
 * QueryResults object.
 */
public class ResultIterator implements IResultIterator
{
	
	private DataEngineContext 		context;
	private RDSaveHelper 			rdSaveHelper;
	private Scriptable 				scope;
	
	protected org.eclipse.birt.data.engine.odi.IResultIterator odiResult;
	
	
	private IServiceForResultSet 	resultService;
	
	
	private GroupUtil 				groupUtil;
	
	
	protected RowIDUtil 				rowIDUtil;
	
	
	private int 					lastRowIndex = -1;