org.axiondb.engine.commands
Class AddConstraintCommand
java.lang.Object
org.axiondb.engine.commands.BaseAxionCommand
org.axiondb.engine.commands.ConstraintCommand
org.axiondb.engine.commands.AddConstraintCommand
- All Implemented Interfaces:
- AxionCommand
- public class AddConstraintCommand
- extends ConstraintCommand
An ADD CONSTRAINT
command, as generated by ALTER TABLE
and CREATE TABLE
statements.
- Version:
- $Revision: 1.15 $ $Date: 2004/08/21 02:59:45 $
Methods inherited from class org.axiondb.engine.commands.BaseAxionCommand |
appendBindVariables, assertNotReadOnly, attemptToConvertValue, bind, clearBindings, getBindVariableIterator, getEffectedRowCount, getResultSet, getRowIterator, getRowIterator, getTableForIdentifier, resolveSelectableList, resolveSelectableList, setEffectedRowCount, setResultSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddConstraintCommand
public AddConstraintCommand(String tableName,
Constraint constraint)
getConstraint
public Constraint getConstraint()
execute
protected void execute(Database db,
Table table)
throws AxionException
- Specified by:
execute
in class ConstraintCommand
- Throws:
AxionException