|
||||||||||
| 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.UniqueConstraint
@Module public class UniqueConstraint
Validity constraints.
| Constructor Summary | |
|---|---|
UniqueConstraint(Column[] uniqueSet)
Creates a uniqueness constraint. |
|
| Method Summary | |
|---|---|
void |
validate(TableIterator[] sourceRows,
QueryContext queryContext,
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 UniqueConstraint(Column[] uniqueSet)
| Method Detail |
|---|
public void validate(TableIterator[] sourceRows,
QueryContext queryContext,
DbTransaction xa)
throws java.sql.SQLException
validate in class Constraintjava.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||