if ( DataSetCacheManager.getInstance( ).doesSaveToCache( ) == false ) return new CachedResultSet( this, customDataSet, eventHandler );
if ( this.session.getDataSetCacheManager( ).doesSaveToCache( ) == false ) return new CachedResultSet( this, customDataSet, eventHandler, session );
	public IResultIterator execute( IEventHandler eventHandler )			throws DataException	{		if ( customDataSet == null ) // sub query		{			// resultObjsIterator			// for sub query, the event handler is no use			return new CachedResultSet( this,					resultMetadata,					resultObjsIterator,					groupingLevel,					eventHandler);		}		else // scripted query		{			if ( DataSetCacheManager.getInstance( ).doesSaveToCache( ) == false )				return new CachedResultSet( this, customDataSet, eventHandler );			else				return new CachedResultSet( this,						resultMetadata,						new DataSetResultCache( customDataSet, resultMetadata ),						eventHandler );					}	}