@Module public class UniqueConstraint extends Constraint
Constructor and Description |
---|
UniqueConstraint(Column[] uniqueSet)
Creates a uniqueness constraint.
|
Modifier and Type | Method and Description |
---|---|
void |
validate(TableIterator[] sourceRows,
QueryContext queryContext,
DbTransaction xa)
validate the constraint.
|
getName, setName
public UniqueConstraint(Column[] uniqueSet)
public void validate(TableIterator[] sourceRows, QueryContext queryContext, DbTransaction xa) throws java.sql.SQLException
validate
in class Constraint
java.sql.SQLException