Package | Description |
---|---|
sirius.db.jdbc.schema |
Modifier and Type | Method and Description |
---|---|
Key |
Table.getKey(String indexName)
Returns the key with the given name.
|
Modifier and Type | Method and Description |
---|---|
List<Key> |
Table.getKeys()
Returns a mutable list of keys of this table.
|
Modifier and Type | Method and Description |
---|---|
String |
DatabaseDialect.generateAddKey(Table table,
Key key)
Alters the table so that the given key is added
|
String |
ClickhouseDatabaseDialect.generateAddKey(Table table,
Key key) |
String |
BasicDatabaseDialect.generateAddKey(Table table,
Key key) |
List<String> |
DatabaseDialect.generateAlterKey(Table table,
Key from,
Key to)
Alters the table so that the given key is updated
|
List<String> |
ClickhouseDatabaseDialect.generateAlterKey(Table table,
Key from,
Key to) |
List<String> |
BasicDatabaseDialect.generateAlterKey(Table table,
Key from,
Key to) |
String |
DatabaseDialect.generateDropKey(Table table,
Key key)
Alters the table so that the given key is dropped
|
String |
ClickhouseDatabaseDialect.generateDropKey(Table table,
Key key) |
String |
BasicDatabaseDialect.generateDropKey(Table table,
Key key) |
String |
DatabaseDialect.getEffectiveKeyName(Table targetTable,
Key key)
Computes the effective name used for a key.
|
String |
BasicDatabaseDialect.getEffectiveKeyName(Table targetTable,
Key key) |
boolean |
DatabaseDialect.shouldDropKey(Table targetTable,
Table currentTable,
Key key)
Determines if the given key should be dropped.
|
boolean |
ClickhouseDatabaseDialect.shouldDropKey(Table targetTable,
Table currentTable,
Key key) |
boolean |
MySQLDatabaseDialect.shouldDropKey(Table targetTable,
Table currentTable,
Key key) |
Copyright © 2018. All rights reserved.