Uses of Class
org.apache.openjpa.jdbc.schema.Index
Packages that use Index
Package
Description
OpenJPA-JDBC ORM Metadata
OpenJPA-JDBC Schema Management
OpenJPA-JDBC SQL Abstraction
-
Uses of Index in org.apache.openjpa.jdbc.meta
Methods in org.apache.openjpa.jdbc.meta that return IndexModifier and TypeMethodDescriptionprotected IndexMappingInfo.createIndex(MetaDataContext context, String prefix, Index tmplate, Column[] cols, boolean adapt) Retrieve/create an index on the given columns by merging the given template information with any user-provided information.Discriminator.getIndex()Index on the Discriminator columns, or null if none.DiscriminatorMappingInfo.getIndex(Discriminator discrim, Column[] cols, boolean adapt) Return the index to set on the discriminator columns, or null if none.MappingDefaults.getIndex(Discriminator disc, Table table, Column[] cols) Return a default index for the discriminator, or null if the discriminator columns should not be indexed by default.MappingDefaults.getIndex(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.MappingDefaults.getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) Return a default index for the value, or null if the value columns should not be indexed by default.Return a default index for the version, or null if the version columns should not be indexed by default.MappingDefaultsImpl.getIndex(Discriminator disc, Table table, Column[] cols) MappingDefaultsImpl.getIndex(ValueMapping vm, String name, Table table, Column[] cols) Deprecated.MappingDefaultsImpl.getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) MappingInfo.getIndex()Raw index.NoneMappingDefaults.getIndex(Discriminator disc, Table table, Column[] cols) NoneMappingDefaults.getIndex(ValueMapping vm, String name, Table table, Column[] cols) NoneMappingDefaults.getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) ValueMappingInfo.getIndex(ValueMapping val, String name, boolean adapt) Deprecated.ValueMappingInfo.getIndex(ValueMapping val, DBIdentifier name, boolean adapt) Version.getIndex()Index on the version columns, or null if none.Return the index to set on the version columns, or null if none.Index[]ClassMappingInfo.getIndices(MetaDataContext cm, boolean adapt) Get all indices associated with both the primary and/or secondary tables.FieldMapping.getJoinIndex()Index on join foreign key columns.FieldMappingInfo.getJoinIndex(FieldMapping field, boolean adapt) Index on the field join.MappingDefaults.getJoinIndex(FieldMapping fm, Table table, Column[] cols) Return a default index for the join, or null if the join columns should not be indexed by default.MappingDefaultsImpl.getJoinIndex(FieldMapping fm, Table table, Column[] cols) NoneMappingDefaults.getJoinIndex(FieldMapping fm, Table table, Column[] cols) FieldMapping.getValueIndex()ValueMapping.getValueIndex()Index on this value's columns, or null if none.ValueMappingImpl.getValueIndex()Methods in org.apache.openjpa.jdbc.meta with parameters of type IndexModifier and TypeMethodDescriptionvoidClassMappingInfo.addIndex(DBIdentifier table, Index idx) Add index for the given table.protected IndexMappingInfo.createIndex(MetaDataContext context, String prefix, Index tmplate, Column[] cols, boolean adapt) Retrieve/create an index on the given columns by merging the given template information with any user-provided information.voidIndex on the Discriminator columns, or null if none.voidRaw index.voidIndex on the version columns, or null if none.voidFieldMapping.setJoinIndex(Index idx) Index on join foreign key columns.voidFieldMapping.setValueIndex(Index idx) voidValueMapping.setValueIndex(Index idx) Index on this value's columns, or null if none.voidValueMappingImpl.setValueIndex(Index idx) protected voidMappingInfo.syncIndex(MetaDataContext context, Index idx) Sets internal index information to match given mapped index. -
Uses of Index in org.apache.openjpa.jdbc.schema
Fields in org.apache.openjpa.jdbc.schema declared as IndexMethods in org.apache.openjpa.jdbc.schema that return IndexModifier and TypeMethodDescriptionDeprecated.Table.addIndex(DBIdentifier name) protected IndexFind an index in the given table that matches the given one.Deprecated.Table.getIndex(DBIdentifier name) Index[]Table.getIndexes()Return the table's indexes.Table.importIndex(Index idx) Import an index; column names must match columns of this table.protected IndexDeprecated.protected IndexSchemaGroup.newIndex(DBIdentifier name, Table table) Methods in org.apache.openjpa.jdbc.schema with parameters of type IndexModifier and TypeMethodDescriptionbooleanSchemaTool.createIndex(Index idx, Table table) Add the given index to the database schema.booleanSchemaTool.createIndex(Index idx, Table table, Unique[] uniques) booleanDrop the given index from the database schema.booleanIndex.equalsIndex(Index idx) Indexes are equal if they have the same name, the same columns, and are both unique/not unique.protected IndexFind an index in the given table that matches the given one.Table.importIndex(Index idx) Import an index; column names must match columns of this table.booleanTable.removeIndex(Index idx) Remove the given index from the table. -
Uses of Index in org.apache.openjpa.jdbc.sql
Methods in org.apache.openjpa.jdbc.sql that return IndexModifier and TypeMethodDescriptionIndex[]DBDictionary.getIndexInfo(DatabaseMetaData meta, String catalog, String schemaName, String tableName, boolean unique, boolean approx, Connection conn) Deprecated.Index[]DBDictionary.getIndexInfo(DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, boolean unique, boolean approx, Connection conn) Reflect on the schema to find indexes matching the given table pattern.Index[]OracleDictionary.getIndexInfo(DatabaseMetaData meta, String catalog, String schemaName, String tableName, boolean unique, boolean approx, Connection conn) Index[]OracleDictionary.getIndexInfo(DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, boolean unique, boolean approx, Connection conn) protected IndexCreate a new index from the information in the schema metadata.protected IndexCreate a new index from the information in the index metadata.Methods in org.apache.openjpa.jdbc.sql with parameters of type IndexModifier and TypeMethodDescriptionString[]DBDictionary.getCreateIndexSQL(Index index) Return a series of SQL statements to create the given index.String[]FoxProDictionary.getCreateIndexSQL(Index index) String[]DBDictionary.getDropIndexSQL(Index index) Return a series of SQL statements to drop the given index.String[]MariaDBDictionary.getDropIndexSQL(Index index) String[]MySQLDictionary.getDropIndexSQL(Index index) AbstractSQLServerDictionary.getFullName(Index idx) DBDictionary.getFullName(Index index) Returns the full name of the index, including the schema (delimited by the result ofDBDictionary.catalogSeparator).PointbaseDictionary.getFullName(Index index) booleanDBDictionary.needsToCreateIndex(Index idx, Table table) booleanDBDictionary.needsToCreateIndex(Index idx, Table table, Unique[] uniques) booleanInformixDictionary.needsToCreateIndex(Index idx, Table table) booleanSolidDBDictionary.needsToCreateIndex(Index idx, Table table, Unique[] uniques)