Class ExpressionAnalysisResultSetDaoImpl
- java.lang.Object
- 
- ubic.gemma.persistence.service.AbstractDao<O>
- 
- ubic.gemma.persistence.service.AbstractVoEnabledDao<O,VO>
- 
- ubic.gemma.persistence.service.AbstractFilteringVoEnabledDao<O,VO>
- 
- ubic.gemma.persistence.service.AbstractCriteriaFilteringVoEnabledDao<ExpressionAnalysisResultSet,DifferentialExpressionAnalysisResultSetValueObject>
- 
- ubic.gemma.persistence.service.analysis.expression.diff.ExpressionAnalysisResultSetDaoImpl
 
 
 
 
 
- 
- All Implemented Interfaces:
- InitializingBean,- AnalysisResultSetDao<DifferentialExpressionAnalysisResult,ExpressionAnalysisResultSet>,- ExpressionAnalysisResultSetDao,- BaseDao<ExpressionAnalysisResultSet>,- BaseVoEnabledDao<ExpressionAnalysisResultSet,DifferentialExpressionAnalysisResultSetValueObject>,- FilteringDao<ExpressionAnalysisResultSet>,- FilteringVoEnabledDao<ExpressionAnalysisResultSet,DifferentialExpressionAnalysisResultSetValueObject>
 
 @Repository public class ExpressionAnalysisResultSetDaoImpl extends AbstractCriteriaFilteringVoEnabledDao<ExpressionAnalysisResultSet,DifferentialExpressionAnalysisResultSetValueObject> implements ExpressionAnalysisResultSetDao - Author:
- Paul
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class ubic.gemma.persistence.service.AbstractFilteringVoEnabledDaoAbstractFilteringVoEnabledDao.FilterablePropertiesConfigurer, AbstractFilteringVoEnabledDao.FilterablePropertyMeta
 
- 
 - 
Field Summary- 
Fields inherited from class ubic.gemma.persistence.service.AbstractVoEnabledDaoREPORT_SLOW_QUERY_AFTER_MS
 - 
Fields inherited from class ubic.gemma.persistence.service.AbstractDaoelementClass, log
 
- 
 - 
Constructor SummaryConstructors Constructor Description ExpressionAnalysisResultSetDaoImpl(SessionFactory sessionFactory)
 - 
Method Summary- 
Methods inherited from class ubic.gemma.persistence.service.AbstractCriteriaFilteringVoEnabledDaoafterPropertiesSet, count, getFilterablePropertyMeta, load, load, loadIds, loadValueObjects, loadValueObjects
 - 
Methods inherited from class ubic.gemma.persistence.service.AbstractFilteringVoEnabledDaogetFilter, getFilter, getFilter, getFilter, getFilterableProperties, getFilterablePropertyAllowedValues, getFilterablePropertyDescription, getFilterablePropertyIsUsingSubquery, getFilterablePropertyMeta, getFilterablePropertyType, getSort
 - 
Methods inherited from class ubic.gemma.persistence.service.AbstractVoEnabledDaodoLoadValueObjects, loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds, postProcessValueObjects
 - 
Methods inherited from class ubic.gemma.persistence.service.AbstractDaocountAll, create, find, findByProperty, findByPropertyIn, findOneByProperty, findOrCreate, getBatchSize, getElementClass, getIdentifierPropertyName, getSessionFactory, load, load, loadAll, loadReference, loadReference, remove, remove, save, save, update, update
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface ubic.gemma.persistence.service.BaseDaocountAll, create, find, findOrCreate, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, remove, remove, save, save, update, update
 - 
Methods inherited from interface ubic.gemma.persistence.service.BaseVoEnabledDaoloadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds
 - 
Methods inherited from interface ubic.gemma.persistence.service.FilteringDaocount, getFilter, getFilter, getFilter, getFilter, getFilterableProperties, getFilterablePropertyAllowedValues, getFilterablePropertyDescription, getFilterablePropertyIsUsingSubquery, getFilterablePropertyType, getSort, load, load, loadIds
 - 
Methods inherited from interface ubic.gemma.persistence.service.FilteringVoEnabledDaoloadValueObjects, loadValueObjects
 
- 
 
- 
- 
- 
Constructor Detail- 
ExpressionAnalysisResultSetDaoImpl@Autowired public ExpressionAnalysisResultSetDaoImpl(SessionFactory sessionFactory) 
 
- 
 - 
Method Detail- 
createpublic ExpressionAnalysisResultSet create(ExpressionAnalysisResultSet entity) Description copied from interface:BaseDaoCreate an object. If the entity type is immutable, this may also remove any existing entities identified by an appropriate 'find' method.- Specified by:
- createin interface- BaseDao<ExpressionAnalysisResultSet>
- Overrides:
- createin class- AbstractDao<ExpressionAnalysisResultSet>
- Parameters:
- entity- the entity to create
- Returns:
- the persistent version of the entity
 
 - 
removepublic void remove(ExpressionAnalysisResultSet entity) Description copied from interface:BaseDaoRemove a persistent instance- Specified by:
- removein interface- BaseDao<ExpressionAnalysisResultSet>
- Overrides:
- removein class- AbstractDao<ExpressionAnalysisResultSet>
- Parameters:
- entity- the entity to be removed
 
 - 
loadWithResultsAndContrastspublic ExpressionAnalysisResultSet loadWithResultsAndContrasts(Long id) - Specified by:
- loadWithResultsAndContrastsin interface- ExpressionAnalysisResultSetDao
 
 - 
canDeletepublic boolean canDelete(DifferentialExpressionAnalysis differentialExpressionAnalysis) - Specified by:
- canDeletein interface- ExpressionAnalysisResultSetDao
 
 - 
findByBioAssaySetInAndDatabaseEntryInLimitpublic Slice<DifferentialExpressionAnalysisResultSetValueObject> findByBioAssaySetInAndDatabaseEntryInLimit(@Nullable Collection<BioAssaySet> bioAssaySets, @Nullable Collection<DatabaseEntry> databaseEntries, @Nullable Filters filters, int offset, int limit, @Nullable Sort sort) Description copied from interface:ExpressionAnalysisResultSetDaoRetrieve result sets associated to a set ofBioAssaySetand external database entries.- Specified by:
- findByBioAssaySetInAndDatabaseEntryInLimitin interface- ExpressionAnalysisResultSetDao
- Parameters:
- bioAssaySets- related- BioAssaySet, or any if null
- databaseEntries- related external identifier associated to the- BioAssaySet, or any if null
- filters- filters for restricting results
- limit- maximum number of results to return
- sort- field and direction by which the collection is ordered
 
 - 
thawpublic void thaw(ExpressionAnalysisResultSet ears) Description copied from interface:ExpressionAnalysisResultSetDaoInitialize the analysis and subset factor vale.- Specified by:
- thawin interface- ExpressionAnalysisResultSetDao
 
 - 
getFilteringCriteriaprotected Criteria getFilteringCriteria(@Nullable Filters filters) Description copied from class:AbstractCriteriaFilteringVoEnabledDaoObtain aCriteriafor loading VOs.
 - 
configureFilterablePropertiesprotected void configureFilterableProperties(AbstractFilteringVoEnabledDao.FilterablePropertiesConfigurer configurer) Description copied from class:AbstractFilteringVoEnabledDaoRegister filterable properties.
 - 
doLoadValueObjectprotected DifferentialExpressionAnalysisResultSetValueObject doLoadValueObject(ExpressionAnalysisResultSet entity) Description copied from class:AbstractVoEnabledDaoLoad a value object for a given entity.This should be fast and efficient, and avoid any database query or post-processing. If you need to perform additional queries, implement AbstractVoEnabledDao.postProcessValueObjects(List)instead.
 - 
loadValueObjectWithResultspublic DifferentialExpressionAnalysisResultSetValueObject loadValueObjectWithResults(ExpressionAnalysisResultSet entity) Description copied from interface:ExpressionAnalysisResultSetDaoLoad an analysis result set with its all of its associated results.- Specified by:
- loadValueObjectWithResultsin interface- ExpressionAnalysisResultSetDao
- See Also:
- BaseVoEnabledDao.loadValueObject(Identifiable)
 
 - 
loadResultToGenesMappublic Map<Long,List<Gene>> loadResultToGenesMap(ExpressionAnalysisResultSet resultSet) Description copied from interface:ExpressionAnalysisResultSetDaoLoad aDifferentialExpressionAnalysisResulttoGenemulti-map.This is much faster than navigating through the probe's alignments, transcripts and then genes as it uses the internal GENE2CS table described in TableMaintenanceUtil.updateGene2CsEntries().Note: Not all probes have associated genes, so you should use Map.getOrDefault(Object, Object)with an empty collection to handle this case.- Specified by:
- loadResultToGenesMapin interface- ExpressionAnalysisResultSetDao
 
 
- 
 
-