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