Package | Description |
---|---|
org.apache.empire.db |
This package contains the core Empire-DB implementation classes.
|
org.apache.empire.dbms | |
org.apache.empire.dbms.derby |
This package contains classes necessary to support the Apache Derby database system.
|
org.apache.empire.dbms.h2 |
This package contains classes necessary to support the H2 database system.
|
org.apache.empire.dbms.hsql |
This package contains classes necessary to support the HSQLDB database system.
|
org.apache.empire.dbms.mysql |
This package contains classes necessary to support the MySQL database system.
|
org.apache.empire.dbms.oracle |
This package contains classes necessary to support the Oracle database system.
|
org.apache.empire.dbms.postgresql |
This package contains classes necessary to support the PostgreSQL database system.
|
org.apache.empire.dbms.sqlite | |
org.apache.empire.dbms.sqlserver |
This package contains classes necessary to support the Microsoft SQL-Server database system.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DBDDLGenerator.addAlterTableStmt(DBColumn col,
DBSQLBuilder sql,
DBSQLScript script) |
protected void |
DBDDLGenerator.addCreateIndexStmt(DBIndex index,
DBSQLBuilder sql,
DBSQLScript script) |
protected void |
DBDDLGenerator.addCreateRelationStmt(DBRelation rel,
DBSQLBuilder sql,
DBSQLScript script) |
protected void |
DBDDLGenerator.addCreateTableStmt(DBTable table,
DBSQLBuilder sql,
DBSQLScript script) |
protected void |
DBDDLGenerator.addCreateViewStmt(DBView v,
DBSQLBuilder sql,
DBSQLScript script) |
protected void |
DBDDLGenerator.alterTable(DBTableColumn col,
DBDDLGenerator.DDLActionType type,
DBSQLScript script)
Appends the DDL-Script for altering a table to an SQL-Script
|
protected void |
DBDDLGenerator.createDatabase(DBDatabase db,
DBSQLScript script)
Appends the DDL-Script for creating the given database to an SQL-Script
This includes the generation of all tables, views and relations. |
protected void |
DBDDLGenerator.createIndex(DBTable t,
DBIndex idx,
DBSQLScript script)
Appends the DDL-Script for creating a single index to an SQL-Script
|
protected void |
DBDDLGenerator.createRelation(DBRelation r,
DBSQLScript script)
Appends the DDL-Script for creating the given foreign-key relation to an SQL-Script
|
protected void |
DBDDLGenerator.createTable(DBTable t,
DBSQLScript script)
Appends the DDL-Script for creating the given table to an SQL-Script
|
protected void |
DBDDLGenerator.createTableIndexes(DBTable t,
DBIndex pk,
DBSQLScript script)
Appends the DDL-Script for creating all indexes of table (except the primary key) to an SQL-Script
|
protected void |
DBDDLGenerator.createView(DBView v,
DBSQLScript script)
Appends the DDL-Script for creating the given view to an SQL-Script
|
protected void |
DBDDLGenerator.dropDatabase(DBDatabase db,
DBSQLScript script)
Appends the DDL-Script for dropping a database to the given script object
|
protected void |
DBDDLGenerator.dropObject(String schema,
String name,
String objType,
DBSQLScript script)
Appends the DDL-Script for dropping a database object to an SQL-Script
|
protected void |
DBDatabase.generateDDLScript(DBSQLScript script)
Override this to change or add DDL commands
|
void |
DBDatabase.getCreateDDLScript(DBSQLScript script)
Creates a DDL Script for creating all database objects on the target database.
|
void |
DBDDLGenerator.getDDLScript(DBDDLGenerator.DDLActionType type,
DBObject dbo,
DBSQLScript script)
Appends the required DLL commands to create, drop or alter an object to the supplied DBDQLScript.
|
Modifier and Type | Method and Description |
---|---|
void |
DBMSHandlerBase.appendEnableRelationStmt(DBRelation r,
boolean enable,
DBSQLScript script)
Appends a statement to enable or disable a foreign key relation.
|
void |
DBMSHandler.appendEnableRelationStmt(DBRelation r,
boolean enable,
DBSQLScript script)
Appends a statement to enable or disable a foreign key relation.
|
void |
DBMSHandler.getDDLScript(DBDDLGenerator.DDLActionType type,
DBObject dbo,
DBSQLScript script)
Appends the required DLL commands to create, drop or alter an object to the supplied DBDQLScript.
|
Modifier and Type | Method and Description |
---|---|
void |
DBMSHandlerDerby.getDDLScript(DBDDLGenerator.DDLActionType type,
DBObject dbo,
DBSQLScript script) |
Modifier and Type | Method and Description |
---|---|
void |
DBMSHandlerH2.getDDLScript(DBDDLGenerator.DDLActionType type,
DBObject dbo,
DBSQLScript script) |
Modifier and Type | Method and Description |
---|---|
protected void |
HSqlDDLGenerator.createDatabase(DBDatabase db,
DBSQLScript script) |
protected void |
HSqlDDLGenerator.createSequence(DBDatabase db,
DBTableColumn column,
DBSQLScript script)
Appends the DDL-Script for creating a sequence to an SQL-Script
|
void |
HSqlDDLGenerator.getDDLScript(DBDDLGenerator.DDLActionType type,
DBObject dbo,
DBSQLScript script) |
void |
DBMSHandlerHSql.getDDLScript(DBDDLGenerator.DDLActionType type,
DBObject dbo,
DBSQLScript script) |
Modifier and Type | Method and Description |
---|---|
protected void |
MySQLDDLGenerator.createDatabase(DBDatabase db,
DBSQLScript script) |
protected void |
MySQLDDLGenerator.createTable(DBTable t,
DBSQLScript script)
Appends the DDL-Script for creating the given table to an SQL-Script
|
protected void |
MySQLDDLGenerator.createView(DBView v,
DBSQLScript script)
Appends the DDL-Script for creating the given view to an SQL-Script
|
void |
DBMSHandlerMySQL.getDDLScript(DBDDLGenerator.DDLActionType type,
DBObject dbo,
DBSQLScript script) |
Modifier and Type | Method and Description |
---|---|
void |
DBMSHandlerOracle.appendEnableRelationStmt(DBRelation r,
boolean enable,
DBSQLScript script) |
protected void |
OracleDDLGenerator.createComment(DBDatabase db,
String type,
DBExpr expr,
String comment,
DBSQLScript script) |
protected void |
OracleDDLGenerator.createDatabase(DBDatabase db,
DBSQLScript script) |
protected void |
OracleDDLGenerator.createSequence(DBDatabase db,
DBTableColumn column,
DBSQLScript script)
Returns true if the sequence has been created successfully.
|
protected void |
OracleDDLGenerator.createTable(DBTable t,
DBSQLScript script) |
protected void |
OracleDDLGenerator.dropDatabase(DBDatabase db,
DBSQLScript script) |
void |
OracleDDLGenerator.getDDLScript(DBDDLGenerator.DDLActionType type,
DBObject dbo,
DBSQLScript script) |
void |
DBMSHandlerOracle.getDDLScript(DBDDLGenerator.DDLActionType type,
DBObject dbo,
DBSQLScript script) |
Modifier and Type | Method and Description |
---|---|
protected void |
PostgresDDLGenerator.createDatabase(DBDatabase db,
DBSQLScript script) |
protected void |
PostgresDDLGenerator.createSequence(DBDatabase db,
DBTableColumn column,
DBSQLScript script)
Appends the DDL-Script for creating a sequence to an SQL-Script
|
void |
DBMSHandlerPostgreSQL.getDDLScript(DBDDLGenerator.DDLActionType type,
DBObject dbo,
DBSQLScript script) |
Modifier and Type | Method and Description |
---|---|
protected void |
SQLiteDDLGenerator.createRelation(DBRelation r,
DBSQLScript script) |
protected void |
SQLiteDDLGenerator.createTable(DBTable t,
DBSQLScript script) |
void |
DBMSHandlerSQLite.getDDLScript(DBDDLGenerator.DDLActionType type,
DBObject dbo,
DBSQLScript script) |
Modifier and Type | Method and Description |
---|---|
protected void |
MSSqlDDLGenerator.addCreateIndexStmt(DBIndex index,
DBSQLBuilder sql,
DBSQLScript script) |
void |
DBMSHandlerMSSQL.appendEnableRelationStmt(DBRelation r,
boolean enable,
DBSQLScript script) |
protected void |
MSSqlDDLGenerator.createDatabase(DBDatabase db,
DBSQLScript script) |
void |
DBMSHandlerMSSQL.getDDLScript(DBDDLGenerator.DDLActionType type,
DBObject dbo,
DBSQLScript script) |
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.