public abstract class PrimaryKeyValidator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.concurrent.atomic.AtomicInteger |
numDone |
protected java.util.concurrent.atomic.AtomicInteger |
numErrors |
protected java.util.concurrent.atomic.AtomicInteger |
numTotal |
| Constructor and Description |
|---|
PrimaryKeyValidator(java.lang.Object cancellationContext) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
updateProgressBar() |
void |
validatePrimaryKey(Session session,
java.util.Set<Table> tables,
JobManager jobManager)
Validates all primary keys of a set of tables.
|
protected java.util.concurrent.atomic.AtomicInteger numErrors
protected java.util.concurrent.atomic.AtomicInteger numDone
protected java.util.concurrent.atomic.AtomicInteger numTotal
public PrimaryKeyValidator(java.lang.Object cancellationContext)
public void validatePrimaryKey(Session session, java.util.Set<Table> tables, JobManager jobManager) throws java.sql.SQLException
session - the sessiontables - the tablesjava.sql.SQLException - if a pk is invalidprotected abstract void updateProgressBar()