|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.db.table.Constraint
com.caucho.db.table.UniqueIndexColumnConstraint
@Module public class UniqueIndexColumnConstraint
Validity constraints.
Constructor Summary | |
---|---|
UniqueIndexColumnConstraint(Column column)
Creates a uniqueness constraint. |
Method Summary | |
---|---|
void |
validate(TableIterator[] sourceRows,
QueryContext context,
DbTransaction xa)
validate the constraint. |
Methods inherited from class com.caucho.db.table.Constraint |
---|
getName, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UniqueIndexColumnConstraint(Column column)
Method Detail |
---|
public void validate(TableIterator[] sourceRows, QueryContext context, DbTransaction xa) throws java.sql.SQLException
validate
in class Constraint
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |