We regularize the semantics of unique constraints on nullable columns: two null values are not considered to be "equal" for the purpose of determining uniqueness, just as specified by ANSI SQL and common sense.
| Modifier and Type | Field and Description |
|---|---|
| private Identifier | |
| private final Map | |
| private final List | |
| private Table | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public static String | |
| public static String | buildSqlCreateIndexString(SqlStringGenerationContext context, String name, Table table, List<Column> columns, Map<Column, String> columnOrderMap, boolean unique, Metadata metadata)
Deprecated
for removal. This method will be removed in the next release
|
| public static String | buildSqlDropIndexString(String name, String tableName)
Deprecated
for removal. This method will be removed in the next release
|
| public boolean | |
| public Map | |
| public List | |
| public int | |
| public String | getExportIdentifier()
Implements org. |
| public String | |
| public String | |
| public Map | |
| public List | |
| public Table | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public String |
| name | back to summary |
|---|---|
| private Identifier name | |
| selectableOrderMap | back to summary |
|---|---|
| private final Map<Selectable, String> selectableOrderMap | |
| selectables | back to summary |
|---|---|
| private final List<Selectable> selectables | |
| table | back to summary |
|---|---|
| private Table table | |
| unique | back to summary |
|---|---|
| private boolean unique | |
| Index | back to summary |
|---|---|
| public Index() | |
| addColumn | back to summary |
|---|---|
| public void addColumn(Selectable selectable) | |
| addColumn | back to summary |
|---|---|
| public void addColumn(Selectable selectable, String order) | |
| addColumns | back to summary |
|---|---|
public void addColumns(List<Column> extraColumns)
| |
| buildSqlCreateIndexString | back to summary |
|---|---|
| public static String buildSqlCreateIndexString(Dialect dialect, String name, String tableName, List<Column> columns, Map<Column, String> columnOrderMap, boolean unique)
Deprecated for removal. This method will be removed in the next release
| |
| buildSqlCreateIndexString | back to summary |
|---|---|
| public static String buildSqlCreateIndexString(SqlStringGenerationContext context, String name, Table table, List<Column> columns, Map<Column, String> columnOrderMap, boolean unique, Metadata metadata)
Deprecated for removal. This method will be removed in the next release
| |
| buildSqlDropIndexString | back to summary |
|---|---|
| public static String buildSqlDropIndexString(String name, String tableName)
Deprecated for removal. This method will be removed in the next release
| |
| containsColumn | back to summary |
|---|---|
public boolean containsColumn(Column column)
| |
| getColumnOrderMap | back to summary |
|---|---|
public Map
| |
| getColumns | back to summary |
|---|---|
public List
| |
| getColumnSpan | back to summary |
|---|---|
| public int getColumnSpan() | |
| getExportIdentifier | back to summary |
|---|---|
| public String getExportIdentifier() Implements org. Doc from org. Get a unique identifier to make sure we are not exporting the same database structure multiple times. | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getQuotedName | back to summary |
|---|---|
| public String getQuotedName(Dialect dialect) | |
| getSelectableOrderMap | back to summary |
|---|---|
| public Map | |
| getSelectables | back to summary |
|---|---|
| public List | |
| getTable | back to summary |
|---|---|
| public Table getTable() | |
| isUnique | back to summary |
|---|---|
| public boolean isUnique() | |
| setName | back to summary |
|---|---|
| public void setName(String name) | |
| setTable | back to summary |
|---|---|
| public void setTable(Table table) | |
| setUnique | back to summary |
|---|---|
| public void setUnique(boolean unique) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |