Package | Description |
---|---|
com.atlassian.confluence.internal.upgrade.constraint | |
com.atlassian.confluence.internal.upgrade.constraint.dedup |
Constructor and Description |
---|
UniqueConstraintAddition(String name,
String table,
List<String> uniqueColumns,
String idColumn,
DedupeStrategy strategy) |
Modifier and Type | Class and Description |
---|---|
class |
JustFailDedupeStrategy
Do nothing.
|
class |
KeepBiggestIdDedupeStrategy
Keep the record with biggest Id
|
class |
KeepOneDedupeStrategy
Keep only one record.
|
class |
KeepSmallestIdDedupeStrategy
Keep the record with smallest Id
|
class |
MergeToSmallestIdDedupeStrategy
2 steps:
1.
|
Modifier and Type | Method and Description |
---|---|
long |
Deduper.removeDuplicates(String table,
String idColumn,
List<String> uniqueColumns,
DedupeStrategy dedupeStrategy)
Remove all duplicates of combination of
uniqueColumns from table . |
Copyright © 2003–2021 Atlassian. All rights reserved.