Package ubic.gemma.persistence.service
Class TableMaintenanceUtilImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.TableMaintenanceUtilImpl
-
- All Implemented Interfaces:
TableMaintenanceUtil
@Service("tableMaintenanceUtil") public class TableMaintenanceUtilImpl extends Object implements TableMaintenanceUtil
Functions for maintaining the database. This is intended for denormalized tables and statistics tables that need to be generated periodically.- Author:
- jsantos, paul
-
-
Field Summary
-
Fields inherited from interface ubic.gemma.persistence.service.TableMaintenanceUtil
EE2AD_QUERY_SPACE, EE2C_QUERY_SPACE, GENE2CS_BATCH_SIZE, GENE2CS_QUERY_SPACE
-
-
Constructor Summary
Constructors Constructor Description TableMaintenanceUtilImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disableEmail()
For use in tests.int
updateExpressionExperiment2ArrayDesignEntries()
Update theEXPRESSION_EXPERIMENT2_ARRAY_DESIGN
table.int
updateExpressionExperiment2CharacteristicEntries(boolean truncate)
Update theEXPRESSION_EXPERIMENT2CHARACTERISTIC
table.int
updateExpressionExperiment2CharacteristicEntries(Class<?> level, boolean truncate)
Update a specific level of theEXPRESSION_EXPERIMENT2CHARACTERISTIC
table.void
updateGene2CsEntries()
If necessary, update the GENE2CS table.
-
-
-
Method Detail
-
updateGene2CsEntries
@Transactional public void updateGene2CsEntries()
Description copied from interface:TableMaintenanceUtil
If necessary, update the GENE2CS table.- Specified by:
updateGene2CsEntries
in interfaceTableMaintenanceUtil
-
updateExpressionExperiment2CharacteristicEntries
@Transactional public int updateExpressionExperiment2CharacteristicEntries(boolean truncate)
Description copied from interface:TableMaintenanceUtil
Update theEXPRESSION_EXPERIMENT2CHARACTERISTIC
table.- Specified by:
updateExpressionExperiment2CharacteristicEntries
in interfaceTableMaintenanceUtil
- Returns:
- the number of records that were created or updated
-
updateExpressionExperiment2CharacteristicEntries
@Transactional public int updateExpressionExperiment2CharacteristicEntries(Class<?> level, boolean truncate)
Description copied from interface:TableMaintenanceUtil
Update a specific level of theEXPRESSION_EXPERIMENT2CHARACTERISTIC
table.- Specified by:
updateExpressionExperiment2CharacteristicEntries
in interfaceTableMaintenanceUtil
- Parameters:
level
- the level to update which is eitherExpressionExperiment
,BioMaterial
orExperimentalDesign
- Returns:
- the number of records that were created or updated
-
updateExpressionExperiment2ArrayDesignEntries
@Transactional public int updateExpressionExperiment2ArrayDesignEntries()
Description copied from interface:TableMaintenanceUtil
Update theEXPRESSION_EXPERIMENT2_ARRAY_DESIGN
table.- Specified by:
updateExpressionExperiment2ArrayDesignEntries
in interfaceTableMaintenanceUtil
- Returns:
- the number of records that were created or updated
-
disableEmail
public void disableEmail()
For use in tests.- Specified by:
disableEmail
in interfaceTableMaintenanceUtil
-
-