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