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/PreparedDataSourceQuery.java
}
		else if ( dset instanceof IJointDataSetDesign )
		{
			preparedQuery = new PreparedJointDataSourceQuery( dataEngine, queryDefn, dset, appContext );
		}
		else
		{
			DataException e = new DataException( ResourceConstants.UNSUPPORTED_DATASET_TYPE,
					dset.getName( ) );
			logger.logp( Level.FINE,
					PreparedDataSourceQuery.class.getName( ),
					"newInstance",
					"Unsupported data source type",
					e );
			throw e;
		}
		return preparedQuery;
	}
		
	private DataEngineImpl dataEngine;
	private IQueryDefinition queryDefn;
	private IBaseDataSetDesign dataSetDesign;	
	private PreparedQuery preparedQuery;
	
	protected static Logger logger = Logger.getLogger( DataEngineImpl.class.getName( ) );
	
	/**
	 * @param dataEngine
	 * @param queryDefn
	 * @param dataSetDesign