|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Index | |
---|---|
org.apache.ddlutils.alteration | Contains the algorithm for comparing two database models and determining what needs to be changed to migrate one to the other. |
org.apache.ddlutils.model | This package contains the classes making up the database model. |
org.apache.ddlutils.platform | This package contains the platform implementations for the individual databases. |
org.apache.ddlutils.platform.axion | This package contains the platform implementation for the Axion database. |
org.apache.ddlutils.platform.db2 | This package contains the platform implementation for the DB2 UDB database. |
org.apache.ddlutils.platform.derby | This package contains the platform implementation for the Apache Derby database. |
org.apache.ddlutils.platform.firebird | This package contains the platform implementation for the Firebird database. |
org.apache.ddlutils.platform.hsqldb | This package contains the platform implementation for the HSQLDB database. |
org.apache.ddlutils.platform.interbase | This package contains the platform implementation for the Interbase database. |
org.apache.ddlutils.platform.mssql | This package contains the platform implementation for the Sql Server database. |
org.apache.ddlutils.platform.mysql | This package contains the platform implementation for the MySQL database. |
org.apache.ddlutils.platform.oracle | This package contains the platform implementation for the Oracle database. |
org.apache.ddlutils.platform.postgresql | This package contains the platform implementation for the PostgreSQL database. |
org.apache.ddlutils.platform.sybase | This package contains the platform implementation for the Sybase ASE database. |
Uses of Index in org.apache.ddlutils.alteration |
---|
Methods in org.apache.ddlutils.alteration that return Index | |
---|---|
Index |
RemoveIndexChange.getIndex()
Returns the index. |
Index |
AddIndexChange.getNewIndex()
Returns the new index. |
Constructors in org.apache.ddlutils.alteration with parameters of type Index | |
---|---|
AddIndexChange(Table table,
Index newIndex)
Creates a new change object. |
|
RemoveIndexChange(Table table,
Index index)
Creates a new change object. |
Uses of Index in org.apache.ddlutils.model |
---|
Classes in org.apache.ddlutils.model that implement Index | |
---|---|
class |
IndexImpBase
Base class for indices. |
class |
NonUniqueIndex
Represents an index definition for a table. |
class |
UniqueIndex
Provides compatibility with Torque-style xml with separate <index> and <unique> tags, but adds no functionality. |
Methods in org.apache.ddlutils.model that return Index | |
---|---|
Index |
Table.findIndex(java.lang.String name)
Finds the index with the specified name, using case insensitive matching. |
Index |
Table.findIndex(java.lang.String name,
boolean caseSensitive)
Finds the index with the specified name, using case insensitive matching. |
Index |
Table.getIndex(int idx)
Returns the index at the specified position. |
Index[] |
Table.getIndices()
Returns the indices of this table. |
Index[] |
Table.getNonUniqueIndices()
Gets a list of non-unique indices on this table. |
Index[] |
Table.getUniqueIndices()
Gets a list of unique indices on this table. |
Methods in org.apache.ddlutils.model with parameters of type Index | |
---|---|
void |
Table.addIndex(Index index)
Adds the given index. |
void |
Table.addIndex(int idx,
Index index)
Adds the given index at the specified position. |
boolean |
Index.equalsIgnoreCase(Index otherIndex)
Compares this index to the given one while ignoring the case of identifiers. |
boolean |
UniqueIndex.equalsIgnoreCase(Index other)
Compares this index to the given one while ignoring the case of identifiers. |
boolean |
NonUniqueIndex.equalsIgnoreCase(Index other)
Compares this index to the given one while ignoring the case of identifiers. |
void |
Table.removeIndex(Index index)
Removes the given index. |
Uses of Index in org.apache.ddlutils.platform |
---|
Methods in org.apache.ddlutils.platform with parameters of type Index | |
---|---|
java.lang.String |
SqlBuilder.getIndexName(Index index)
Returns the index name. |
protected boolean |
JdbcModelReader.isInternalForeignKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
ForeignKey fk,
Index index)
Tries to determine whether the index is the internal database-generated index for the given foreign key. |
protected boolean |
JdbcModelReader.isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
Index index)
Tries to determine whether the index is the internal database-generated index for the given table's primary key. |
protected boolean |
JdbcModelReader.matches(Index index,
java.util.List columnsToSearchFor)
Checks whether the given index matches the column list. |
protected void |
SqlBuilder.writeEmbeddedIndexCreateStmt(Table table,
Index index)
Writes the given embedded index of the table. |
protected void |
SqlBuilder.writeExternalIndexCreateStmt(Table table,
Index index)
Writes the given index of the table. |
void |
SqlBuilder.writeExternalIndexDropStmt(Table table,
Index index)
Generates the statement to drop a non-embedded index from the database. |
Uses of Index in org.apache.ddlutils.platform.axion |
---|
Methods in org.apache.ddlutils.platform.axion with parameters of type Index | |
---|---|
void |
AxionBuilder.writeExternalIndexDropStmt(Table table,
Index index)
Generates the statement to drop a non-embedded index from the database. |
Uses of Index in org.apache.ddlutils.platform.db2 |
---|
Methods in org.apache.ddlutils.platform.db2 with parameters of type Index | |
---|---|
protected boolean |
Db2ModelReader.isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
Index index)
Tries to determine whether the index is the internal database-generated index for the given table's primary key. |
void |
Db2Builder.writeExternalIndexDropStmt(Table table,
Index index)
Generates the statement to drop a non-embedded index from the database. |
Uses of Index in org.apache.ddlutils.platform.derby |
---|
Methods in org.apache.ddlutils.platform.derby with parameters of type Index | |
---|---|
protected boolean |
DerbyModelReader.isInternalForeignKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
ForeignKey fk,
Index index)
Tries to determine whether the index is the internal database-generated index for the given foreign key. |
protected boolean |
DerbyModelReader.isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
Index index)
Tries to determine whether the index is the internal database-generated index for the given table's primary key. |
void |
DerbyBuilder.writeExternalIndexDropStmt(Table table,
Index index)
Generates the statement to drop a non-embedded index from the database. |
Uses of Index in org.apache.ddlutils.platform.firebird |
---|
Methods in org.apache.ddlutils.platform.firebird with parameters of type Index | |
---|---|
protected boolean |
FirebirdModelReader.isInternalForeignKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
ForeignKey fk,
Index index)
Tries to determine whether the index is the internal database-generated index for the given foreign key. |
protected boolean |
FirebirdModelReader.isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
Index index)
Tries to determine whether the index is the internal database-generated index for the given table's primary key. |
void |
FirebirdBuilder.writeExternalIndexDropStmt(Table table,
Index index)
Generates the statement to drop a non-embedded index from the database. |
Uses of Index in org.apache.ddlutils.platform.hsqldb |
---|
Methods in org.apache.ddlutils.platform.hsqldb with parameters of type Index | |
---|---|
protected boolean |
HsqlDbModelReader.isInternalForeignKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
ForeignKey fk,
Index index)
Tries to determine whether the index is the internal database-generated index for the given foreign key. |
protected boolean |
HsqlDbModelReader.isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
Index index)
Tries to determine whether the index is the internal database-generated index for the given table's primary key. |
Uses of Index in org.apache.ddlutils.platform.interbase |
---|
Methods in org.apache.ddlutils.platform.interbase with parameters of type Index | |
---|---|
protected boolean |
InterbaseModelReader.isInternalForeignKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
ForeignKey fk,
Index index)
Tries to determine whether the index is the internal database-generated index for the given foreign key. |
protected boolean |
InterbaseModelReader.isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
Index index)
Tries to determine whether the index is the internal database-generated index for the given table's primary key. |
void |
InterbaseBuilder.writeExternalIndexDropStmt(Table table,
Index index)
Generates the statement to drop a non-embedded index from the database. |
Uses of Index in org.apache.ddlutils.platform.mssql |
---|
Methods in org.apache.ddlutils.platform.mssql with parameters of type Index | |
---|---|
protected boolean |
MSSqlModelReader.isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
Index index)
Tries to determine whether the index is the internal database-generated index for the given table's primary key. |
void |
MSSqlBuilder.writeExternalIndexDropStmt(Table table,
Index index)
Generates the statement to drop a non-embedded index from the database. |
Uses of Index in org.apache.ddlutils.platform.mysql |
---|
Methods in org.apache.ddlutils.platform.mysql with parameters of type Index | |
---|---|
protected boolean |
MySqlModelReader.isInternalForeignKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
ForeignKey fk,
Index index)
Tries to determine whether the index is the internal database-generated index for the given foreign key. |
protected boolean |
MySqlModelReader.isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
Index index)
Tries to determine whether the index is the internal database-generated index for the given table's primary key. |
Uses of Index in org.apache.ddlutils.platform.oracle |
---|
Methods in org.apache.ddlutils.platform.oracle with parameters of type Index | |
---|---|
void |
Oracle8Builder.writeExternalIndexDropStmt(Table table,
Index index)
Generates the statement to drop a non-embedded index from the database. |
Uses of Index in org.apache.ddlutils.platform.postgresql |
---|
Methods in org.apache.ddlutils.platform.postgresql with parameters of type Index | |
---|---|
protected boolean |
PostgreSqlModelReader.isInternalForeignKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
ForeignKey fk,
Index index)
Tries to determine whether the index is the internal database-generated index for the given foreign key. |
protected boolean |
PostgreSqlModelReader.isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
Index index)
Tries to determine whether the index is the internal database-generated index for the given table's primary key. |
void |
PostgreSqlBuilder.writeExternalIndexDropStmt(Table table,
Index index)
Generates the statement to drop a non-embedded index from the database. |
Uses of Index in org.apache.ddlutils.platform.sybase |
---|
Methods in org.apache.ddlutils.platform.sybase with parameters of type Index | |
---|---|
protected boolean |
SybaseModelReader.isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
Index index)
Tries to determine whether the index is the internal database-generated index for the given table's primary key. |
void |
SybaseBuilder.writeExternalIndexDropStmt(Table table,
Index index)
Generates the statement to drop a non-embedded index from the database. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |