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
}
	
	/*
	 * @see org.eclipse.birt.data.engine.api.IResultIterator#getValue(org.eclipse.birt.data.engine.api.IBaseExpression)
	 */
	public Object getValue( IBaseExpression dataExpr ) throws BirtException
	{
		logger.logp( Level.FINE,
				ResultIterator.class.getName( ),
				"getValue",
				"get of value IBaseExpression: " + LogUtil.toString( dataExpr ) );
		checkStarted( );
		Object exprValue = ExprEvaluateUtil.evaluateExpression( dataExpr,
				odiResult,
				scope,
				logger );
		
		this.getRdSaveUtil( ).doSaveExpr( dataExpr, exprValue );
		
		return exprValue;
	}
	
	/**
	 * @return save util used in report document GENERATION time
	 */
	private RDSaveUtil getRdSaveUtil( )
	{
		if ( this.rdSaveUtil == null )
		{
			rdSaveUtil = new RDSaveUtil( this.context,