Class BlatResultDaoImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.AbstractDao<O>
-
- ubic.gemma.persistence.service.AbstractVoEnabledDao<BlatResult,BlatResultValueObject>
-
- ubic.gemma.persistence.service.genome.sequenceAnalysis.BlatResultDaoImpl
-
- All Implemented Interfaces:
BaseDao<BlatResult>
,BaseVoEnabledDao<BlatResult,BlatResultValueObject>
,BlatResultDao
@Repository public class BlatResultDaoImpl extends AbstractVoEnabledDao<BlatResult,BlatResultValueObject> implements BlatResultDao
Base Spring DAO Class: is able to create, update, remove, load, and find objects of type
ubic.gemma.model.genome.sequenceAnalysis.BlatResult
.- See Also:
BlatResult
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.service.AbstractVoEnabledDao
REPORT_SLOW_QUERY_AFTER_MS
-
Fields inherited from class ubic.gemma.persistence.service.AbstractDao
log
-
-
Constructor Summary
Constructors Constructor Description BlatResultDaoImpl(SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BlatResultValueObject
doLoadValueObject(BlatResult entity)
Load a value object for a given entity.Collection<BlatResult>
findByBioSequence(BioSequence bioSequence)
Find BLAT results for the given sequenceCollection<BlatResult>
thaw(Collection<BlatResult> blatResults)
BlatResult
thaw(BlatResult blatResult)
-
Methods inherited from class ubic.gemma.persistence.service.AbstractVoEnabledDao
doLoadValueObjects, loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds, postProcessValueObjects
-
Methods inherited from class ubic.gemma.persistence.service.AbstractDao
countAll, create, create, find, findByProperty, findByPropertyIn, findOneByProperty, findOrCreate, getBatchSize, getElementClass, getIdentifierPropertyName, getSessionFactory, load, load, loadAll, loadReference, loadReference, reload, reload, remove, remove, remove, save, save, streamAll, streamAll, streamQuery, update, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ubic.gemma.persistence.service.BaseDao
countAll, create, create, find, findOrCreate, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, reload, reload, remove, remove, remove, save, save, streamAll, streamAll, update, update
-
Methods inherited from interface ubic.gemma.persistence.service.BaseVoEnabledDao
loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds
-
-
-
-
Constructor Detail
-
BlatResultDaoImpl
@Autowired public BlatResultDaoImpl(SessionFactory sessionFactory)
-
-
Method Detail
-
thaw
public BlatResult thaw(BlatResult blatResult)
- Specified by:
thaw
in interfaceBlatResultDao
-
thaw
public Collection<BlatResult> thaw(Collection<BlatResult> blatResults)
- Specified by:
thaw
in interfaceBlatResultDao
-
findByBioSequence
public Collection<BlatResult> findByBioSequence(BioSequence bioSequence)
Description copied from interface:BlatResultDao
Find BLAT results for the given sequence- Specified by:
findByBioSequence
in interfaceBlatResultDao
- Parameters:
bioSequence
- BA- Returns:
- matching blat results
-
doLoadValueObject
protected BlatResultValueObject doLoadValueObject(BlatResult entity)
Description copied from class:AbstractVoEnabledDao
Load 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.- Specified by:
doLoadValueObject
in classAbstractVoEnabledDao<BlatResult,BlatResultValueObject>
-
-