Package | Description |
---|---|
net.ontopia.persistence.rdbms |
Classes for managing relational database schemas.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Table> |
Project.tables |
Modifier and Type | Method and Description |
---|---|
Table |
Project.getTableByName(String name)
INTERNAL: Gets a table definition by name.
|
Modifier and Type | Method and Description |
---|---|
Collection<Table> |
Project.getTables()
INTERNAL: Gets all the tables in the database schema.
|
Modifier and Type | Method and Description |
---|---|
protected List<String> |
GenericSQLProducer.addForeignKey(Table table,
Column col,
String keyname,
List<String> statements)
INTERNAL: Generate the DDL statement(s) to add foreigns keys for
the specified column.
|
protected List<String> |
GenericSQLProducer.addPrimaryKeys(Table table,
List<String> statements)
INTERNAL: Generate the DDL statement(s) to add primary keys for
the specified table.
|
void |
Project.addTable(Table table)
INTERNAL: Adds the table to the database schema.
|
protected List<String> |
MySqlSQLProducer.createIndexes(Table table,
List<String> statements)
INTERNAL: Generate the DDL statement(s) to create indexes for the
specified table.
|
protected List<String> |
GenericSQLProducer.createIndexes(Table table,
List<String> statements)
INTERNAL: Generate the DDL statement(s) to create indexes for the
specified table.
|
protected List<String> |
MySqlSQLProducer.createStatement(Table table,
List<String> statements) |
protected List<String> |
GenericSQLProducer.createStatement(Table table,
List<String> statements)
INTERNAL: Generate the DDL statement(s) to create the specified table.
|
protected List<String> |
GenericSQLProducer.dropConstraint(Table table,
Column col,
String keyname,
List<String> statements)
INTERNAL: Generate the DDL statement(s) to drop foreigns keys for
the specified column.
|
protected List<String> |
PostgreSQLProducer.dropStatement(Table table,
List<String> statements) |
protected List<String> |
GenericSQLProducer.dropStatement(Table table,
List<String> statements)
INTERNAL: Generate the DDL statement(s) to drop the specified table.
|
protected List<String> |
OracleSQLProducer.dropStatement(Table table,
List<String> statements) |
protected String |
GenericSQLProducer.getPrimaryKeyName(Table table) |
protected String |
DB2SQLProducer.getPrimaryKeyName(Table table) |
void |
Project.removeTable(Table table)
INTERNAL: Removes the table from the database schema.
|