Exporter for unique constraints. The type argument is
Constraint, rather than UniqueKey, allowing for Dialects
which create unique constraints for unique indexes.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | getSqlCreateStrings(Constraint constraint, Metadata metadata, SqlStringGenerationContext context)
Implements org.
Deprecated
as a consequence of
Get the commands needed for creation.
Metadata being deprecated.
|
| public String[] | getSqlDropStrings(Constraint constraint, Metadata metadata, SqlStringGenerationContext context)
Implements org.
Deprecated
as a consequence of
Get the commands needed for dropping.
Metadata being deprecated.
|
| dialect | back to summary |
|---|---|
| private final Dialect dialect | |
| StandardUniqueKeyExporter | back to summary |
|---|---|
| public StandardUniqueKeyExporter(Dialect dialect) | |
| getSqlCreateStrings | back to summary |
|---|---|
| public String[] getSqlCreateStrings(Constraint constraint, Metadata metadata, SqlStringGenerationContext context) Implements org. Doc from org. Deprecated as a consequence of Get the commands needed for creation. | |
| getSqlDropStrings | back to summary |
|---|---|
| public String[] getSqlDropStrings(Constraint constraint, Metadata metadata, SqlStringGenerationContext context) Implements org. Doc from org. Deprecated as a consequence of Get the commands needed for dropping. | |