| Package | Description |
|---|---|
| org.sql.generation.api.grammar.builders.definition |
This is package containing builders for syntax elements used in SQL Data Definition statements (typically
CREATE statements). |
| org.sql.generation.api.grammar.factories |
This package provides factories to create various builders and SQL syntax elements.
|
| Modifier and Type | Method and Description |
|---|---|
ForeignKeyConstraintBuilder |
ForeignKeyConstraintBuilder.addSourceColumns(String... columnNames)
Adds source column names to this foreign key constraint.
|
ForeignKeyConstraintBuilder |
ForeignKeyConstraintBuilder.addTargetColumns(String... columnNames)
Adds target column names to this foreign key constraint.
|
ForeignKeyConstraintBuilder |
ForeignKeyConstraintBuilder.setMatchType(MatchType matchType)
Sets the match type for this foreign key constraint.
|
ForeignKeyConstraintBuilder |
ForeignKeyConstraintBuilder.setOnDelete(ReferentialAction action)
Sets the
ON DELETE action. |
ForeignKeyConstraintBuilder |
ForeignKeyConstraintBuilder.setOnUpdate(ReferentialAction action)
Sets the
ON UPDATE action. |
ForeignKeyConstraintBuilder |
ForeignKeyConstraintBuilder.setTargetTableName(TableNameDirect tableName)
Sets the target table name for this foreign key constraint.
|
| Modifier and Type | Method and Description |
|---|---|
ForeignKeyConstraintBuilder |
DefinitionFactory.createForeignKeyConstraintBuilder()
Creates an empty builder for
FOREIGN KEY constraint, typically used in CREATE TABLE statements. |
Copyright © 2010-2012. All Rights Reserved.