public class UniqueKey extends Constraint
Constructor and Description |
---|
UniqueKey() |
Modifier and Type | Method and Description |
---|---|
void |
addColumn(Column column,
String order) |
String |
generatedConstraintNamePrefix() |
Map<Column,String> |
getColumnOrderMap() |
String |
getExportIdentifier()
Get a unique identifier to make sure we are not exporting the same database structure multiple times.
|
String |
sqlConstraintString(Dialect dialect,
String constraintName,
String defaultCatalog,
String defaultSchema) |
String |
sqlCreateString(Dialect dialect,
Mapping p,
String defaultCatalog,
String defaultSchema) |
String |
sqlDropString(Dialect dialect,
String defaultCatalog,
String defaultSchema) |
addColumn, addColumns, columnIterator, containsColumn, generateName, generateName, getColumn, getColumnIterator, getColumns, getColumnSpan, getName, getTable, hashedName, isGenerated, setName, setTable, toString
public String sqlConstraintString(Dialect dialect, String constraintName, String defaultCatalog, String defaultSchema)
sqlConstraintString
in class Constraint
public String sqlCreateString(Dialect dialect, Mapping p, String defaultCatalog, String defaultSchema)
sqlCreateString
in interface RelationalModel
sqlCreateString
in class Constraint
public String sqlDropString(Dialect dialect, String defaultCatalog, String defaultSchema)
sqlDropString
in interface RelationalModel
sqlDropString
in class Constraint
public String generatedConstraintNamePrefix()
generatedConstraintNamePrefix
in class Constraint
public String getExportIdentifier()
Exportable
Copyright © 2021 JBoss by Red Hat. All rights reserved.