Modifier and Type | Method and Description |
---|---|
boolean |
UniqueConstraintAddition.addIfMissing(ConstraintChecker constraintChecker,
Deduper deduper,
ConstraintCreator constraintCreator)
Add a required unique constraint if missing from the DB
|
void |
ConstraintCreator.create(String table,
String name,
List<String> columns) |
boolean |
ConstraintChecker.exists(String table,
String name,
List<String> uniqueColumns) |
Modifier and Type | Method and Description |
---|---|
void |
JustFailDedupeStrategy.perform(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
SortedSet<Object> ids) |
void |
DedupeStrategy.perform(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
SortedSet<Object> ids)
Remove duplicates so a unique constraint can be added
|
void |
MergeToSmallestIdDedupeStrategy.perform(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
SortedSet<Object> ids) |
void |
KeepOneDedupeStrategy.perform(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
SortedSet<Object> ids) |
long |
Deduper.removeDuplicates(String table,
String idColumn,
List<String> uniqueColumns,
DedupeStrategy dedupeStrategy)
Remove all duplicates of combination of
uniqueColumns from table . |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractUpgradeManager.beforeUpgrade() |
protected boolean |
AbstractUpgradeManager.permitDatabaseUpgrades()
This is used to guard against database upgrades being performed multiple times on the same database.
|
protected void |
AbstractUpgradeManager.runUpgradeTasks(List<UpgradeTask> upgradeTasks) |
void |
UpgradeManager.upgrade(com.atlassian.johnson.JohnsonEventContainer agentJohnson) |
void |
AbstractUpgradeManager.upgrade(com.atlassian.johnson.JohnsonEventContainer agentJohnson) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultUpgradeManager.runUpgradeTasks(List<UpgradeTask> upgradeTasks) |
Modifier and Type | Method and Description |
---|---|
void |
SplitIndexUpgradeTask.doUpgrade() |
boolean |
SplitIndexUpgradeTask.upgradeUnderConnectionWriteLock() |
Modifier and Type | Method and Description |
---|---|
void |
SplitIndexFileHelper.purgeAllFiles()
deletes all files in the folder where this SplitIndexFileManager is pointed at.
|
Copyright © 2003–2023 Atlassian. All rights reserved.