Class RawAndProcessedExpressionDataVectorDaoImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.AbstractDao<T>
-
- ubic.gemma.persistence.service.expression.bioAssayData.AbstractDesignElementDataVectorDao<BulkExpressionDataVector>
-
- ubic.gemma.persistence.service.expression.bioAssayData.RawAndProcessedExpressionDataVectorDaoImpl
-
- All Implemented Interfaces:
BaseDao<BulkExpressionDataVector>
,DesignElementDataVectorDao<BulkExpressionDataVector>
,RawAndProcessedExpressionDataVectorDao
@Repository public class RawAndProcessedExpressionDataVectorDaoImpl extends AbstractDesignElementDataVectorDao<BulkExpressionDataVector> implements RawAndProcessedExpressionDataVectorDao
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.service.AbstractDao
log
-
-
Constructor Summary
Constructors Constructor Description RawAndProcessedExpressionDataVectorDaoImpl(SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BulkExpressionDataVector
find(BulkExpressionDataVector entity)
Does a look up for the given entity in the persistent storage, usually looking for a specific identifier ( either id or a string property).BulkExpressionDataVector
load(Long id)
Loads the entity with given id from the persistent storage.Collection<BulkExpressionDataVector>
load(Collection<Long> ids)
This implementation is temporary and attempts to best replicate the behaviour of loading entities by multiple IDs introduced in Hibernate 5.int
removeByCompositeSequence(CompositeSequence cs)
Remove all raw and processed vectors for a given probe.-
Methods inherited from class ubic.gemma.persistence.service.expression.bioAssayData.AbstractDesignElementDataVectorDao
find, find, find, findByExpressionExperiment, thaw, thaw
-
Methods inherited from class ubic.gemma.persistence.service.AbstractDao
countAll, create, create, findByProperty, findByPropertyIn, findOneByProperty, findOrCreate, getBatchSize, getElementClass, getIdentifierPropertyName, getSessionFactory, 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, findOrCreate, getElementClass, getIdentifierPropertyName, loadAll, loadReference, loadReference, reload, reload, remove, remove, remove, save, save, streamAll, streamAll, update, update
-
Methods inherited from interface ubic.gemma.persistence.service.expression.bioAssayData.DesignElementDataVectorDao
find, find, find, findByExpressionExperiment, thaw, thaw
-
-
-
-
Constructor Detail
-
RawAndProcessedExpressionDataVectorDaoImpl
@Autowired public RawAndProcessedExpressionDataVectorDaoImpl(SessionFactory sessionFactory)
-
-
Method Detail
-
load
public BulkExpressionDataVector load(Long id)
Description copied from interface:BaseDao
Loads the entity with given id from the persistent storage.- Specified by:
load
in interfaceBaseDao<BulkExpressionDataVector>
- Overrides:
load
in classAbstractDao<BulkExpressionDataVector>
- Parameters:
id
- the id of entity to load.- Returns:
- the entity with given ID, or null if such entity does not exist or if the passed ID was null
- See Also:
Session.get(Class, Serializable)
-
load
public Collection<BulkExpressionDataVector> load(Collection<Long> ids)
Description copied from class:AbstractDao
This implementation is temporary and attempts to best replicate the behaviour of loading entities by multiple IDs introduced in Hibernate 5. Read more about this.- Specified by:
load
in interfaceBaseDao<BulkExpressionDataVector>
- Overrides:
load
in classAbstractDao<BulkExpressionDataVector>
- Parameters:
ids
- the IDs of entities to be loaded. If some IDs are not found or null, they are skipped.- Returns:
- collection of entities with given ids.
-
find
public BulkExpressionDataVector find(BulkExpressionDataVector entity)
Description copied from interface:BaseDao
Does a look up for the given entity in the persistent storage, usually looking for a specific identifier ( either id or a string property).- Specified by:
find
in interfaceBaseDao<BulkExpressionDataVector>
- Overrides:
find
in classAbstractDao<BulkExpressionDataVector>
- Parameters:
entity
- the entity to look for.- Returns:
- an entity that was found in the persistent storage, or null if no such entity was found.
-
removeByCompositeSequence
public int removeByCompositeSequence(CompositeSequence cs)
Description copied from interface:RawAndProcessedExpressionDataVectorDao
Remove all raw and processed vectors for a given probe.- Specified by:
removeByCompositeSequence
in interfaceRawAndProcessedExpressionDataVectorDao
- Returns:
- the number of removed raw and processed vectors
-
-