Package | Description |
---|---|
org.apache.empire.db |
This package contains the core Empire-DB implementation classes.
|
org.apache.empire.db.mysql |
This package contains classes necessary to support the MySQL database system.
|
org.apache.empire.db.oracle |
This package contains classes necessary to support the Oracle database system.
|
org.apache.empire.db.sqlite | |
org.apache.empire.db.validation |
Modifier and Type | Class and Description |
---|---|
static class |
DBDatabaseDriver.DBSeqTable
This class is used to emulate sequences by using a sequence table.
|
Modifier and Type | Field and Description |
---|---|
protected List<DBTable> |
DBDatabase.tables |
Modifier and Type | Method and Description |
---|---|
<T extends DBTable> |
DBTable.clone(String newAlias) |
protected <T extends DBTable> |
DBTable.initClonedFields(T clone) |
Modifier and Type | Method and Description |
---|---|
DBTable |
DBRelation.getForeignKeyTable()
Returns the table that is containing the foreign key (source table)
|
DBTable |
DBRelation.getReferencedTable()
Returns the table that is referenced by this foreign key relation (target table)
|
DBTable |
DBIndex.getTable()
returns the table this index belongs to.
|
DBTable |
DBDatabase.getTable(String name)
Finds a DBTable object by name.
|
Modifier and Type | Method and Description |
---|---|
List<DBTable> |
DBDatabase.getTables()
Returns the tables which have been defined in the database.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DBDDLGenerator.addCreateTableStmt(DBTable table,
StringBuilder sql,
DBSQLScript script) |
void |
DBSQLScript.addDelete(DBCommand cmd,
DBTable table)
Adds an delete statement
|
protected void |
DBDatabase.addTable(DBTable table)
Adds a DBTable object to list of database tables.
|
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.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
|
int |
DBDatabase.executeDelete(DBTable from,
DBCommand cmd,
Connection conn)
Executes a Delete statement from a command object
|
int |
DBDatabase.executeInsertInto(DBTable table,
DBCommand cmd,
Connection conn)
Executes an InsertInfo statement from a command object
|
String |
DBCommand.getDelete(DBTable table)
Creates the delete SQL-Command.
|
String |
DBCommandExpr.getInsertInto(DBTable table)
Create the insert into SQL-Command which copies
data from a select statement to a destination table.
|
protected String |
DBCommandExpr.getInsertInto(DBTable table,
DBColumnExpr[] select,
List<DBColumnExpr> columns)
Create the insert into SQL-Command which copies data
from a select statement to a destination table.
|
String |
DBCommandExpr.getInsertInto(DBTable table,
List<DBColumnExpr> columns)
Create the insert into SQL-Command which copies
data from a select statement to a destination table.
|
Constructor and Description |
---|
DBTableColumn(DBTable table,
DataType type,
String name,
double size,
boolean required,
boolean autoGenerated,
Object defValue)
Constructs a DBTableColumn object set the specified parameters to this object.
|
DBTableColumn(DBTable table,
DataType type,
String name,
double size,
DataMode dataMode,
Object defValue)
|
DBTableColumn(DBTable newTable,
DBTableColumn other)
Clone Constructor - use clone()
|
Modifier and Type | Method and Description |
---|---|
protected void |
MySQLDDLGenerator.createTable(DBTable t,
DBSQLScript script)
Appends the DDL-Script for creating the given table to an SQL-Script
|
String |
DBDatabaseDriverMySQL.DBCommandMySQL.getDelete(DBTable table)
Creates an MySQL specific delete statement.
|
Modifier and Type | Class and Description |
---|---|
static class |
OracleSYSDatabase.DBColComments |
static class |
OracleSYSDatabase.DBColInfo |
static class |
OracleSYSDatabase.DBConstraints |
static class |
OracleSYSDatabase.DBTabComments |
static class |
OracleSYSDatabase.DBUserConCol |
Modifier and Type | Method and Description |
---|---|
protected void |
OracleDDLGenerator.createTable(DBTable t,
DBSQLScript script) |
String |
DBCommandOracle.getDelete(DBTable table)
Creates an Oracle specific delete statement.
|
Modifier and Type | Method and Description |
---|---|
void |
OracleDataDictionnary.checkDBTableDefinition(List<DBTable> dbTables) |
Modifier and Type | Method and Description |
---|---|
protected void |
SQLiteDDLGenerator.createTable(DBTable t,
DBSQLScript script) |
Modifier and Type | Method and Description |
---|---|
protected DBTable |
DBModelChecker.getTable(String tableName) |
Modifier and Type | Method and Description |
---|---|
protected Collection<DBTable> |
DBModelChecker.getTables() |
Modifier and Type | Method and Description |
---|---|
protected DBTableColumn |
DBModelChecker.addColumn(DBTable t,
ResultSet rs) |
protected void |
DBModelChecker.checkForeignKeys(DBTable table,
DBTable remoteTable,
DBModelErrorHandler handler) |
protected void |
DBModelChecker.checkPrimaryKey(DBTable table,
DBTable remoteTable,
DBModelErrorHandler handler) |
protected void |
DBModelChecker.checkTable(DBTable table,
DBModelErrorHandler handler) |
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.