| Interface | Description |
|---|---|
| DedupeStrategy |
Decide how to remove duplicates so a unique constraint can be added
Note: Tables with composite keys are not supported.
|
| Class | Description |
|---|---|
| Deduper |
Remove duplicated rows from a table before a unique constraint can be added.
|
| DuplicateRowHolder |
Hold a duplicate record.
|
| DuplicateRowHolderFactory |
Create a
DuplicateRowHolder from a ResultSet
Note: Tables with composite keys are not supported. |
| JustFailDedupeStrategy |
Do nothing.
|
| KeepBiggestIdDedupeStrategy |
Keep the record with biggest Id
|
| KeepOneDedupeStrategy |
Keep only one record.
|
| KeepSmallestIdDedupeStrategy |
Keep the record with smallest Id
|
| MergeToSmallestIdDedupeStrategy |
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.
|
Copyright © 2003–2022 Atlassian. All rights reserved.