Uses of Class
org.apache.openjpa.jdbc.schema.Index
-
Packages that use Index Package Description org.apache.openjpa.jdbc.meta OpenJPA-JDBC ORM Metadataorg.apache.openjpa.jdbc.schema OpenJPA-JDBC Schema Managementorg.apache.openjpa.jdbc.sql OpenJPA-JDBC SQL Abstraction -
-
Uses of Index in org.apache.openjpa.jdbc.meta
Methods in org.apache.openjpa.jdbc.meta that return Index Modifier and Type Method Description protected IndexMappingInfo. createIndex(MetaDataContext context, java.lang.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.IndexDiscriminator. getIndex()Index on the Discriminator columns, or null if none.IndexDiscriminatorMappingInfo. getIndex(Discriminator discrim, Column[] cols, boolean adapt)Return the index to set on the discriminator columns, or null if none.IndexMappingDefaults. 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.IndexMappingDefaults. getIndex(ValueMapping vm, java.lang.String name, Table table, Column[] cols)Deprecated.IndexMappingDefaults. 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.IndexMappingDefaults. getIndex(Version vers, Table table, Column[] cols)Return a default index for the version, or null if the version columns should not be indexed by default.IndexMappingDefaultsImpl. getIndex(Discriminator disc, Table table, Column[] cols)IndexMappingDefaultsImpl. getIndex(ValueMapping vm, java.lang.String name, Table table, Column[] cols)Deprecated.IndexMappingDefaultsImpl. getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)IndexMappingDefaultsImpl. getIndex(Version vers, Table table, Column[] cols)IndexMappingInfo. getIndex()Raw index.IndexNoneMappingDefaults. getIndex(Discriminator disc, Table table, Column[] cols)IndexNoneMappingDefaults. getIndex(ValueMapping vm, java.lang.String name, Table table, Column[] cols)IndexNoneMappingDefaults. getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)IndexNoneMappingDefaults. getIndex(Version vers, Table table, Column[] cols)IndexValueMappingInfo. getIndex(ValueMapping val, java.lang.String name, boolean adapt)Deprecated.IndexValueMappingInfo. getIndex(ValueMapping val, DBIdentifier name, boolean adapt)IndexVersion. getIndex()Index on the version columns, or null if none.IndexVersionMappingInfo. getIndex(Version version, Column[] cols, boolean adapt)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.IndexFieldMapping. getJoinIndex()Index on join foreign key columns.IndexFieldMappingInfo. getJoinIndex(FieldMapping field, boolean adapt)Index on the field join.IndexMappingDefaults. 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.IndexMappingDefaultsImpl. getJoinIndex(FieldMapping fm, Table table, Column[] cols)IndexNoneMappingDefaults. getJoinIndex(FieldMapping fm, Table table, Column[] cols)IndexFieldMapping. getValueIndex()IndexValueMapping. getValueIndex()Index on this value's columns, or null if none.IndexValueMappingImpl. getValueIndex()Methods in org.apache.openjpa.jdbc.meta with parameters of type Index Modifier and Type Method Description voidClassMappingInfo. addIndex(DBIdentifier table, Index idx)Add index for the given table.protected IndexMappingInfo. createIndex(MetaDataContext context, java.lang.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.voidDiscriminator. setIndex(Index idx)Index on the Discriminator columns, or null if none.voidMappingInfo. setIndex(Index idx)Raw index.voidVersion. setIndex(Index idx)Index 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 Index Modifier and Type Field Description static Index[]Schemas. EMPTY_INDEXESMethods in org.apache.openjpa.jdbc.schema that return Index Modifier and Type Method Description IndexTable. addIndex(java.lang.String name)Deprecated.IndexTable. addIndex(DBIdentifier name)protected IndexSchemaTool. findIndex(Table dbTable, Index idx)Find an index in the given table that matches the given one.IndexTable. getIndex(java.lang.String name)Deprecated.IndexTable. getIndex(DBIdentifier name)Index[]Table. getIndexes()Return the table's indexes.IndexTable. importIndex(Index idx)Import an index; column names must match columns of this table.protected IndexSchemaGroup. newIndex(java.lang.String name, Table table)Deprecated.protected IndexSchemaGroup. newIndex(DBIdentifier name, Table table)Methods in org.apache.openjpa.jdbc.schema with parameters of type Index Modifier and Type Method Description booleanSchemaTool. createIndex(Index idx, Table table)Add the given index to the database schema.booleanSchemaTool. createIndex(Index idx, Table table, Unique[] uniques)booleanSchemaTool. dropIndex(Index idx)Drop 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 IndexSchemaTool. findIndex(Table dbTable, Index idx)Find an index in the given table that matches the given one.IndexTable. 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 Index Modifier and Type Method Description Index[]DBDictionary. getIndexInfo(java.sql.DatabaseMetaData meta, java.lang.String catalog, java.lang.String schemaName, java.lang.String tableName, boolean unique, boolean approx, java.sql.Connection conn)Deprecated.Index[]DBDictionary. getIndexInfo(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, boolean unique, boolean approx, java.sql.Connection conn)Reflect on the schema to find indexes matching the given table pattern.Index[]OracleDictionary. getIndexInfo(java.sql.DatabaseMetaData meta, java.lang.String catalog, java.lang.String schemaName, java.lang.String tableName, boolean unique, boolean approx, java.sql.Connection conn)Index[]OracleDictionary. getIndexInfo(java.sql.DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier tableName, boolean unique, boolean approx, java.sql.Connection conn)protected IndexDBDictionary. newIndex(java.sql.ResultSet idxMeta)Create a new index from the information in the schema metadata.IndexInformixDictionary. newIndex(java.sql.ResultSet idxMeta)protected IndexSybaseDictionary. newIndex(java.sql.ResultSet idxMeta)Create a new index from the information in the index metadata.Methods in org.apache.openjpa.jdbc.sql with parameters of type Index Modifier and Type Method Description java.lang.String[]DBDictionary. getCreateIndexSQL(Index index)Return a series of SQL statements to create the given index.java.lang.String[]FoxProDictionary. getCreateIndexSQL(Index index)java.lang.String[]DBDictionary. getDropIndexSQL(Index index)Return a series of SQL statements to drop the given index.java.lang.String[]MariaDBDictionary. getDropIndexSQL(Index index)java.lang.String[]MySQLDictionary. getDropIndexSQL(Index index)java.lang.StringAbstractSQLServerDictionary. getFullName(Index idx)java.lang.StringDBDictionary. getFullName(Index index)Returns the full name of the index, including the schema (delimited by the result ofDBDictionary.catalogSeparator).java.lang.StringPointbaseDictionary. 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)
-