Class RawExpressionDataVectorDaoImpl
java.lang.Object
ubic.gemma.persistence.service.AbstractDao<RawExpressionDataVector>
ubic.gemma.persistence.service.expression.bioAssayData.AbstractDesignElementDataVectorDao<RawExpressionDataVector>
ubic.gemma.persistence.service.expression.bioAssayData.RawExpressionDataVectorDaoImpl
- All Implemented Interfaces:
BaseDao<RawExpressionDataVector>, DesignElementDataVectorDao<RawExpressionDataVector>, RawExpressionDataVectorDao
@Repository
public class RawExpressionDataVectorDaoImpl
extends AbstractDesignElementDataVectorDao<RawExpressionDataVector>
implements RawExpressionDataVectorDao
- Author:
- paul
-
Field Summary
Fields inherited from class AbstractDao
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfind(Collection<CompositeSequence> designElements, QuantitationType quantitationType) find(ArrayDesign arrayDesign, QuantitationType quantitationType) find(RawExpressionDataVector designElementDataVector) Does a look-up for the given entity in the persistent storage, usually looking for a specific identifier ifIdentifiable.getId()is set or a business key.getRandomRawVectors(QuantitationType quantitationType, int limit) Fetch up tolimitraw vectors for the given quantitation type, chosen uniformly at random.Methods inherited from class AbstractDesignElementDataVectorDao
find, find, find, findByExpressionExperiment, thaw, thawMethods inherited from class AbstractDao
countAll, create, create, findByProperty, findByPropertyIn, findIdByProperty, findOneByProperty, findOrCreate, getBatchSize, getElementClass, getEntityName, getIdentifierPropertyName, getSessionFactory, load, load, loadAll, loadReference, loadReference, reload, reload, remove, remove, save, save, streamAll, streamAll, streamQuery, update, updateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BaseDao
countAll, create, create, findOrCreate, getElementClass, load, load, loadAll, loadReference, loadReference, reload, reload, remove, remove, save, save, streamAll, streamAll, update, updateMethods inherited from interface DesignElementDataVectorDao
find, find, find, findByExpressionExperiment, thaw, thaw
-
Constructor Details
-
RawExpressionDataVectorDaoImpl
-
-
Method Details
-
find
public Collection<RawExpressionDataVector> find(ArrayDesign arrayDesign, QuantitationType quantitationType) - Specified by:
findin interfaceRawExpressionDataVectorDao
-
find
public Collection<RawExpressionDataVector> find(Collection<CompositeSequence> designElements, QuantitationType quantitationType) - Specified by:
findin interfaceRawExpressionDataVectorDao
-
getRandomRawVectors
public Collection<RawExpressionDataVector> getRandomRawVectors(QuantitationType quantitationType, int limit) Description copied from interface:RawExpressionDataVectorDaoFetch up tolimitraw vectors for the given quantitation type, chosen uniformly at random.Mirrors
ProcessedExpressionDataVectorDao#getRandomProcessedVectors: a cheap id-only scan is shuffled in Java and only the picked vectors are fetched (with the design-element / array-design / bioAssayDimension / quantitationType join fetches), avoiding anORDER BY RAND()sort and a whole-matrix load. Unlike the processed variant there is norankByMeanpreference — raw vectors carry no rank, so the sample is uniform.- Specified by:
getRandomRawVectorsin interfaceRawExpressionDataVectorDao
-
find
Description copied from interface:BaseDaoDoes a look-up for the given entity in the persistent storage, usually looking for a specific identifier ifIdentifiable.getId()is set or a business key.- Specified by:
findin interfaceBaseDao<RawExpressionDataVector>- Overrides:
findin classAbstractDao<RawExpressionDataVector>- Parameters:
designElementDataVector- the entity to look for.- Returns:
- an entity that was found in the persistent storage, or null if no such entity was found.
-