Uses of Class
org.apache.empire.db.DBIndex
Packages that use DBIndex
Package
Description
This package contains the core Empire-DB implementation classes.
This package contains classes necessary to support the Oracle database system.
This package contains classes necessary to support the Microsoft SQL-Server database system.
-
Uses of DBIndex in org.apache.empire.db
Subclasses of DBIndex in org.apache.empire.dbModifier and TypeClassDescriptionclassThis class allows to create an expression based indexMethods in org.apache.empire.db that return DBIndexModifier and TypeMethodDescriptionfinal DBIndexAdds an index.final DBIndexDBTable.addIndex(String name, DBIndex.DBIndexType type, DBColumn... columns) Adds an index.Adds an index.DBTable.checkUniqueConstraints(DBRecordBase record) Checks weather a unique constraint is violated when inserting or updating a record.protected DBIndexDBTable.clonePrimaryKey(DBRowSet clone) DBTable.getPrimaryKey()Returns the primary key.DBIndex.setOptions(String options) Sets additional database specific index optionsMethods in org.apache.empire.db that return types with arguments of type DBIndexModifier and TypeMethodDescriptionDBTable.getIndexes()Returns the list of indexes (except the primary key).Methods in org.apache.empire.db with parameters of type DBIndexModifier and TypeMethodDescriptionprotected voidDBDDLGenerator.addCreateIndexStmt(DBIndex index, DBSQLBuilder sql, DBSQLScript script) Adds an index.protected voidDBDDLGenerator.appendIndexColumn(DBIndex index, DBColumnExpr idxColumn, DBSQLBuilder sql) Appends an column expression to an indexprotected voidDBDDLGenerator.appendIndexType(DBIndex index, DBSQLBuilder sql) Appends the index type when creating an indexprotected voidDBDDLGenerator.createIndex(DBTable t, DBIndex index, DBSQLScript script) Appends the DDL-Script for creating a single index to an SQL-Scriptprotected voidDBDDLGenerator.createTableIndexes(DBTable t, DBIndex pk, DBSQLScript script) Appends the DDL-Script for creating all indexes of table (except the primary key) to an SQL-ScriptvoidDBTable.removeIndex(DBIndex index) removes an index. -
Uses of DBIndex in org.apache.empire.db.validation
Methods in org.apache.empire.db.validation with parameters of type DBIndexModifier and TypeMethodDescriptionvoidDBModelErrorHandler.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 databasevoidDBModelErrorLogger.primaryKeyColumnMissing(DBIndex primaryKey, DBColumn column) handle primaryKeyColumnMissing errorsvoidDBModelErrorHandler.primaryKeyMismatch(DBIndex primaryKey, DBColumn[] tableKey) This method is called when the primary key of the Empire-db definition does not match the primary key of the existing tablevoidDBModelErrorLogger.primaryKeyMismatch(DBIndex primaryKey, DBColumn[] tableKey) -
Uses of DBIndex in org.apache.empire.dbms.oracle
Methods in org.apache.empire.dbms.oracle with parameters of type DBIndexModifier and TypeMethodDescriptionprotected voidOracleDDLGenerator.addCreateIndexStmt(DBIndex index, DBSQLBuilder sql, DBSQLScript script) protected voidOracleDDLGenerator.appendIndexColumn(DBIndex index, DBColumnExpr idxColumn, DBSQLBuilder sql) voidDBCommandOracle.setOptimizerIndexHint(DBIndex index) -
Uses of DBIndex in org.apache.empire.dbms.sqlserver
Methods in org.apache.empire.dbms.sqlserver with parameters of type DBIndexModifier and TypeMethodDescriptionprotected voidMSSqlDDLGenerator.addCreateIndexStmt(DBIndex index, DBSQLBuilder sql, DBSQLScript script) protected voidMSSqlDDLGenerator.appendIndexType(DBIndex index, DBSQLBuilder sql)