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/ResultIterator.java
int[] subQueryInfo )
		{
			this.context = context;
			this.queryDefn = queryDefn;
			this.queryResultID = queryResultID;
			this.odiResult = odiResult;
			this.subQueryName = subQueryName;
			this.groupLevel = groupLevel;
			this.subQueryIndex = subQueryIndex;
			this.subQueryInfo = subQueryInfo;
		}
		/**
		 * @return
		 */
		String getSubQueryID( )
		{
			if ( this.subQueryName == null )
				return null;
			return this.subQueryName + "/" + this.subQueryIndex;
		}
		/**
		 * @param dataExpr
		 * @param value
		 * @throws DataException
		 */
		void doSaveExpr( IBaseExpression dataExpr, Object value )
				throws DataException
		{
			if ( needsSaveToDoc( ) == false )
				return;