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 voiddisableEmail()For use in tests.intupdateExpressionExperiment2ArrayDesignEntries(Date sinceLastUpdate)Update theEXPRESSION_EXPERIMENT2_ARRAY_DESIGNtable.intupdateExpressionExperiment2CharacteristicEntries(Class<?> level, Date sinceLastUpdate, boolean truncate)Update a specific level of theEXPRESSION_EXPERIMENT2CHARACTERISTICtable.intupdateExpressionExperiment2CharacteristicEntries(Date sinceLastUpdate, boolean truncate)Update theEXPRESSION_EXPERIMENT2CHARACTERISTICtable.voidupdateGene2CsEntries()If necessary, update the GENE2CS table.
-
-
-
Method Detail
-
updateGene2CsEntries
@Transactional public void updateGene2CsEntries()
Description copied from interface:TableMaintenanceUtilIf necessary, update the GENE2CS table.- Specified by:
updateGene2CsEntriesin interfaceTableMaintenanceUtil
-
updateExpressionExperiment2CharacteristicEntries
@Transactional public int updateExpressionExperiment2CharacteristicEntries(@Nullable Date sinceLastUpdate, boolean truncate)
Description copied from interface:TableMaintenanceUtilUpdate theEXPRESSION_EXPERIMENT2CHARACTERISTICtable.- Specified by:
updateExpressionExperiment2CharacteristicEntriesin interfaceTableMaintenanceUtil- Returns:
- the number of records that were created or updated
-
updateExpressionExperiment2CharacteristicEntries
@Transactional public int updateExpressionExperiment2CharacteristicEntries(Class<?> level, @Nullable Date sinceLastUpdate, boolean truncate)
Description copied from interface:TableMaintenanceUtilUpdate a specific level of theEXPRESSION_EXPERIMENT2CHARACTERISTICtable.- Specified by:
updateExpressionExperiment2CharacteristicEntriesin interfaceTableMaintenanceUtil- Parameters:
level- the level to update which is eitherExpressionExperiment,BioMaterialorExperimentalDesign- Returns:
- the number of records that were created or updated
-
updateExpressionExperiment2ArrayDesignEntries
@Transactional public int updateExpressionExperiment2ArrayDesignEntries(@Nullable Date sinceLastUpdate)
Description copied from interface:TableMaintenanceUtilUpdate theEXPRESSION_EXPERIMENT2_ARRAY_DESIGNtable.- Specified by:
updateExpressionExperiment2ArrayDesignEntriesin interfaceTableMaintenanceUtil- Returns:
- the number of records that were created or updated
-
disableEmail
public void disableEmail()
For use in tests.- Specified by:
disableEmailin interfaceTableMaintenanceUtil
-
-