Bug 131011 Support running query based on report document data
Data Engine should support running a query based on data set and expression data stored in a report document. This bugzilla entry serves as a repository for design docs and notes related to this feature.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/RDLoad.java
{
		 
	private DataEngineContext context;
	private String queryResultID;
	
	private String subQueryName;
	private String subQueryID;
	private RDSubQueryUtil subQueryUtil;
	
	private RDGroupUtil rdGroupUtil;
	
	private int rowCount;
	private int readIndex = 0;
	private int currPos = 0;
	private InputStream rowIs;
	private BufferedInputStream rowBis;
	private DataInputStream rowDis;
	
	private InputStream lenIs;
	private BufferedInputStream lenBis;
	private DataInputStream lenDis;
	
	private int currSkipIndex;	
	private int INT_LENGTH;
	
	private int version;
	
	
	private boolean isPrepared;