Package | Description |
---|---|
org.apache.empire.db |
This package contains the core Empire-DB implementation classes.
|
org.apache.empire.db.oracle |
This package contains classes necessary to support the Oracle database system.
|
org.apache.empire.db.sqlserver |
This package contains classes necessary to support the Microsoft SQL-Server database system.
|
org.apache.empire.db.validation |
Modifier and Type | Class and Description |
---|---|
class |
DBExpressionIndex
This class handles the primary key for the tables.
|
Modifier and Type | Field and Description |
---|---|
protected DBIndex |
DBRowSet.primaryKey |
Modifier and Type | Method and Description |
---|---|
DBIndex |
DBTable.addIndex(DBIndex index)
Adds an index.
|
DBIndex |
DBTable.addIndex(String name,
boolean unique,
DBColumn... columns)
Adds an index.
|
DBIndex |
DBTable.addIndex(String name,
DBIndex.DBIndexType type,
DBColumn... columns)
Adds an index.
|
DBIndex |
DBTable.checkUniqueConstraints(DBRecord rec,
Connection conn)
Checks weather a unique constraint is violated when inserting or updating a record.
|
DBIndex |
DBTable.getPrimaryKey()
Returns the primary key.
|
Modifier and Type | Method and Description |
---|---|
List<DBIndex> |
DBTable.getIndexes()
Returns the list of indexes (except the primary key).
|
Modifier and Type | Method and Description |
---|---|
protected void |
DBDDLGenerator.addCreateIndexStmt(DBIndex index,
StringBuilder sql,
DBSQLScript script) |
DBIndex |
DBTable.addIndex(DBIndex index)
Adds an index.
|
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.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
|
void |
DBTable.removeIndex(DBIndex index)
removes an index.
|
Modifier and Type | Method and Description |
---|---|
void |
DBCommandOracle.setOptimizerIndexHint(DBIndex index) |
Modifier and Type | Method and Description |
---|---|
protected void |
MSSqlDDLGenerator.addCreateIndexStmt(DBIndex index,
StringBuilder sql,
DBSQLScript script) |
Modifier and Type | Method and Description |
---|---|
void |
DBModelErrorLogger.primaryKeyColumnMissing(DBIndex primaryKey,
DBColumn column)
handle primaryKeyColumnMissing errors
|
void |
DBModelErrorHandler.primaryKeyColumnMissing(DBIndex primaryKey,
DBColumn column)
This method is called when a column in a primary key of the Empire-db definition
is missing in the database
|
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.