Bug 196745 Data Engine implementation of BPS80- Result Set Sharing
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/CacheResultIterator.java
import java.io.InputStream;
import java.math.BigDecimal;
import java.sql.Blob;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.logging.Logger;
import org.eclipse.birt.core.data.DataTypeUtil;
import org.eclipse.birt.core.exception.BirtException;
import org.eclipse.birt.core.util.IOUtil;
import org.eclipse.birt.data.engine.api.DataEngineContext;
import org.eclipse.birt.data.engine.api.IQueryResults;
import org.eclipse.birt.data.engine.api.IResultIterator;
import org.eclipse.birt.data.engine.api.IResultMetaData;
import org.eclipse.birt.data.engine.core.DataException;
import org.eclipse.birt.data.engine.executor.ResultClass;
import org.eclipse.birt.data.engine.i18n.ResourceConstants;
import org.mozilla.javascript.Scriptable;
/**
 * 
 */
public class CacheResultIterator implements IResultIterator
{
	private static final String CACHED_FILE_PREFIX = "cacheresultiterator";
	private DataEngineContext context = null;
	private String queryResultID = null;
	private InputStream metaInputStream = null;
	private DataInputStream rowInputStream = null;