Uses of Class
org.datanucleus.store.rdbms.key.Index
Packages that use Index
Package
Description
Provides mappings of all supported databases to aspects of the database that determines the SQL generation.
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 IndexModifier and TypeMethodDescriptionBaseDatastoreAdapter.getCreateIndexStatement
(Index idx, IdentifierFactory factory) Returns the appropriate DDL to create an index.DatastoreAdapter.getCreateIndexStatement
(Index idx, IdentifierFactory factory) Returns the appropriate SQL to add an index to its table.H2Adapter.getCreateIndexStatement
(Index idx, IdentifierFactory factory) MySQLAdapter.getCreateIndexStatement
(Index idx, IdentifierFactory factory) NuoDBAdapter.getCreateIndexStatement
(Index idx, IdentifierFactory factory) Returns the appropriate DDL to create an index.PostgreSQLAdapter.getCreateIndexStatement
(Index idx, IdentifierFactory factory) Returns the appropriate DDL to create an index.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 IndexModifier and TypeMethodDescriptionstatic 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 IndexModifier and TypeMethodDescriptionprivate Map
<DatastoreIdentifier, Index> TableImpl.getExistingIndices
(Connection conn) Accessor for indices on the actual table.ClassTable.getExpectedIndices
(org.datanucleus.ClassLoaderResolver clr) Accessor for the indices for this table.ElementContainerTable.getExpectedIndices
(org.datanucleus.ClassLoaderResolver clr) Accessor for the indices for this table.MapTable.getExpectedIndices
(org.datanucleus.ClassLoaderResolver clr) Accessor for the indices for this table.PersistableJoinTable.getExpectedIndices
(org.datanucleus.ClassLoaderResolver clr) Accessor for the indices for this table.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 IndexModifier and TypeMethodDescriptionprivate boolean
TableImpl.isIndexReallyNeeded
(Index requiredIdx, Collection actualIndices) Utility to check if an index is necessary.