Uses of Class
org.datanucleus.store.rdbms.key.Index
-
Packages that use Index Package Description org.datanucleus.store.rdbms.adapter Provides mappings of all supported databases to aspects of the database that determines the SQL generation.org.datanucleus.store.rdbms.table Provides the internal DataNucleus definition of a table/view and its columns. -
-
Uses of Index in org.datanucleus.store.rdbms.adapter
Methods in org.datanucleus.store.rdbms.adapter with parameters of type Index Modifier and Type Method Description java.lang.String
BaseDatastoreAdapter. getCreateIndexStatement(Index idx, IdentifierFactory factory)
Returns the appropriate DDL to create an index.java.lang.String
DatastoreAdapter. getCreateIndexStatement(Index idx, IdentifierFactory factory)
Returns the appropriate SQL to add an index to its table.java.lang.String
H2Adapter. getCreateIndexStatement(Index idx, IdentifierFactory factory)
java.lang.String
MySQLAdapter. getCreateIndexStatement(Index idx, IdentifierFactory factory)
java.lang.String
NuoDBAdapter. getCreateIndexStatement(Index idx, IdentifierFactory factory)
Returns the appropriate DDL to create an index.java.lang.String
PostgreSQLAdapter. getCreateIndexStatement(Index idx, IdentifierFactory factory)
Returns the appropriate DDL to create an index.java.lang.String
SQLServerAdapter. getCreateIndexStatement(Index idx, IdentifierFactory factory)
Returns the appropriate DDL to create an index. -
Uses of Index in org.datanucleus.store.rdbms.table
Methods in org.datanucleus.store.rdbms.table that return Index Modifier and Type Method Description static Index
TableUtils. getIndexForField(Table table, org.datanucleus.metadata.IndexMetaData imd, JavaTypeMapping fieldMapping)
Convenience method to create an Index for a field.private Index
ClassTable. getIndexForIndexMetaData(org.datanucleus.metadata.IndexMetaData imd)
Convenience method to convert an IndexMetaData into an Index.private Index
ClassTable. getIndexForIndexMetaDataAndMapping(org.datanucleus.metadata.IndexMetaData imd, JavaTypeMapping mapping)
Convenience method to convert an IndexMetaData and a mapping into an Index.Methods in org.datanucleus.store.rdbms.table that return types with arguments of type Index Modifier and Type Method Description private java.util.Map<DatastoreIdentifier,Index>
TableImpl. getExistingIndices(java.sql.Connection conn)
Accessor for indices on the actual table.protected java.util.Set<Index>
ClassTable. getExpectedIndices(org.datanucleus.ClassLoaderResolver clr)
Accessor for the indices for this table.protected java.util.Set<Index>
ElementContainerTable. getExpectedIndices(org.datanucleus.ClassLoaderResolver clr)
Accessor for the indices for this table.protected java.util.Set<Index>
MapTable. getExpectedIndices(org.datanucleus.ClassLoaderResolver clr)
Accessor for the indices for this table.protected java.util.Set<Index>
PersistableJoinTable. getExpectedIndices(org.datanucleus.ClassLoaderResolver clr)
Accessor for the indices for this table.protected java.util.Set<Index>
TableImpl. getExpectedIndices(org.datanucleus.ClassLoaderResolver clr)
Accessor for the indices for this table in the datastore.Methods in org.datanucleus.store.rdbms.table with parameters of type Index Modifier and Type Method Description private boolean
TableImpl. isIndexReallyNeeded(Index requiredIdx, java.util.Collection actualIndices)
Utility to check if an index is necessary.
-