AlterTableAddConstraint
This class represents the statement ALTER TABLE ADD CONSTRAINT
Methods
IndexColumn[]
getIndexColumns
()
IndexColumn[]
getIndexColumns
()
int
getType
()
int
getType
()
void
setCheckExisting
(boolean b)
void
setCheckExisting
(boolean b)
void
setCheckExpression
(Expression expression)
void
setCheckExpression
(Expression expression)
void
setComment
(String comment)
void
setComment
(String comment)
void
setConstraintName
(String constraintName)
void
setConstraintName
(String constraintName)
void
setDeleteAction
(ConstraintActionType action)
void
setDeleteAction
(ConstraintActionType action)
void
setIfTableExists
(boolean b)
void
setIfTableExists
(boolean b)
void
setIndex
(Index index)
void
setIndex
(Index index)
void
setIndexColumns
(IndexColumn[] indexColumns)
void
setIndexColumns
(IndexColumn[] indexColumns)
void
setPrimaryKeyHash
(boolean b)
void
setPrimaryKeyHash
(boolean b)
void
setRefIndex
(Index refIndex)
void
setRefIndex
(Index refIndex)
void
setRefIndexColumns
(IndexColumn[] indexColumns)
void
setRefIndexColumns
(IndexColumn[] indexColumns)
void
setRefTableName
(Schema refSchema, String ref)
Set the referenced table.
void
setRefTableName
(Schema refSchema, String ref)
Set the referenced table.
Parameters:
refSchema - the schema
ref - the table name
void
setTableName
(String tableName)
void
setTableName
(String tableName)
void
setType
(int type)
void
setType
(int type)
void
setUpdateAction
(ConstraintActionType action)
void
setUpdateAction
(ConstraintActionType action)
int
update
()
int
update
()