Package com.atlassian.confluence.internal.upgrade.constraint.dedup
-
Interface Summary Interface Description DedupeStrategy Decide how to remove duplicates so a unique constraint can be added Note: Tables with composite keys are not supported. -
Class Summary Class Description Deduper Remove duplicated rows from a table before a unique constraint can be added.DuplicateRowHolder Hold a duplicate record.DuplicateRowHolderFactory Create aDuplicateRowHolder
from aResultSet
Note: Tables with composite keys are not supported.JustFailDedupeStrategy Do nothing.KeepBiggestIdDedupeStrategy Keep the record with biggest IdKeepOneDedupeStrategy Keep only one record.KeepSmallestIdDedupeStrategy Keep the record with smallest IdMergeToSmallestIdDedupeStrategy 2 steps: 1.MergeToSmallestIdDedupeStrategy.ReferencedTable Hold information about a table having a foreign key referencing current table This implementation only support simple foreign keys i.e.