IBaseQueryDefinition query = (IBaseQueryDefinition)mapResultSetNameToQuery
IQueryDefinition query = (IQueryDefinition)mapResultSetNameToQuery
	private IExtractionResults extractByResultSetName( ) throws EngineException	{		assert resultSetName != null;		assert executionContext.getDataEngine() != null;				prepareMetaData( );				DataEngine dataEngine = executionContext.getDataEngine().getDataEngine();		try		{			IBaseQueryDefinition query = (IBaseQueryDefinition)mapResultSetNameToQuery									.get( resultSetName );			assert query != null;			validateSelectedColumns( query );						IQueryResults queryResults = dataEngine.getQueryResults( resultSetName );			assert queryResults.getResultIterator() != null;			 			currentResult = new ExtractionResults( queryResults.getResultIterator() 					, selectedColumns, getValueExpressions( query ) );			return currentResult;		}		catch ( BirtException e )		{			e.printStackTrace( );		}		return null;	}