Package | Description |
---|---|
org.apache.empire.db |
This package contains the core Empire-DB implementation classes.
|
org.apache.empire.db.context | |
org.apache.empire.db.generic | |
org.apache.empire.db.validation | |
org.apache.empire.dbms | |
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.sqlite |
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,
DBSQLBuilder sql,
DBSQLScript script) |
void |
DBSQLScript.addDelete(DBCommand cmd,
DBTable table)
Adds an delete statement
|
DBTableColumn |
DBTable.addForeignKey(String name,
DBTable target,
boolean required)
Adds a new ForgeinKey table column the column list
The foreign table must have a single column foreign key
|
DBTableColumn |
DBTable.addForeignKey(String name,
DBTable target,
boolean required,
boolean cascade)
Adds a new ForgeinKey table column the column list
The foreign table must have a single column foreign key
|
DBTableColumn |
DBTable.addForeignKey(String name,
DBTable target,
boolean required,
Options options,
DBRelation.DBCascadeAction cascadeAction)
Adds a new ForgeinKey table column the column list
The foreign table must have a single column foreign key
|
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 |
DBContext.executeDelete(DBTable from,
DBCommand cmd) |
int |
DBContext.executeInsertInto(DBTable table,
DBCommand cmd) |
String |
DBCommand.getDelete(DBTable table)
Creates a delete SQL-Statement
|
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.
|
void |
DBDatabase.removeTable(DBTable table)
Removes a table from the list of database tables
|
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 newTable,
DBTableColumn other)
Clone Constructor - use clone()
|
Modifier and Type | Method and Description |
---|---|
int |
DBContextBase.executeDelete(DBTable from,
DBCommand cmd)
Executes a Delete statement from a command object
|
int |
DBContextBase.executeInsertInto(DBTable table,
DBCommand cmd)
Executes an InsertInfo statement from a command object
|
Modifier and Type | Class and Description |
---|---|
class |
TTable<DB extends TDatabase<DB>> |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Class and Description |
---|---|
static class |
DBMSHandlerBase.DBSeqTable
This class is used to emulate sequences by using a sequence table.
|
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
|
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) |
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) |
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.