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 Index
MappingInfo. 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.Index
Discriminator. getIndex()
Index on the Discriminator columns, or null if none.Index
DiscriminatorMappingInfo. getIndex(Discriminator discrim, Column[] cols, boolean adapt)
Return the index to set on the discriminator columns, or null if none.Index
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.Index
MappingDefaults. getIndex(ValueMapping vm, java.lang.String name, Table table, Column[] cols)
Deprecated.Index
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.Index
MappingDefaults. 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.Index
MappingDefaultsImpl. getIndex(Discriminator disc, Table table, Column[] cols)
Index
MappingDefaultsImpl. getIndex(ValueMapping vm, java.lang.String name, Table table, Column[] cols)
Deprecated.Index
MappingDefaultsImpl. getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)
Index
MappingDefaultsImpl. getIndex(Version vers, Table table, Column[] cols)
Index
MappingInfo. getIndex()
Raw index.Index
NoneMappingDefaults. getIndex(Discriminator disc, Table table, Column[] cols)
Index
NoneMappingDefaults. getIndex(ValueMapping vm, java.lang.String name, Table table, Column[] cols)
Index
NoneMappingDefaults. getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)
Index
NoneMappingDefaults. getIndex(Version vers, Table table, Column[] cols)
Index
ValueMappingInfo. getIndex(ValueMapping val, java.lang.String name, boolean adapt)
Deprecated.Index
ValueMappingInfo. getIndex(ValueMapping val, DBIdentifier name, boolean adapt)
Index
Version. getIndex()
Index on the version columns, or null if none.Index
VersionMappingInfo. 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.Index
FieldMapping. getJoinIndex()
Index on join foreign key columns.Index
FieldMappingInfo. getJoinIndex(FieldMapping field, boolean adapt)
Index on the field join.Index
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.Index
MappingDefaultsImpl. getJoinIndex(FieldMapping fm, Table table, Column[] cols)
Index
NoneMappingDefaults. getJoinIndex(FieldMapping fm, Table table, Column[] cols)
Index
FieldMapping. getValueIndex()
Index
ValueMapping. getValueIndex()
Index on this value's columns, or null if none.Index
ValueMappingImpl. getValueIndex()
Methods in org.apache.openjpa.jdbc.meta with parameters of type Index Modifier and Type Method Description void
ClassMappingInfo. addIndex(DBIdentifier table, Index idx)
Add index for the given table.protected Index
MappingInfo. 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.void
Discriminator. setIndex(Index idx)
Index on the Discriminator columns, or null if none.void
MappingInfo. setIndex(Index idx)
Raw index.void
Version. setIndex(Index idx)
Index on the version columns, or null if none.void
FieldMapping. setJoinIndex(Index idx)
Index on join foreign key columns.void
FieldMapping. setValueIndex(Index idx)
void
ValueMapping. setValueIndex(Index idx)
Index on this value's columns, or null if none.void
ValueMappingImpl. setValueIndex(Index idx)
protected void
MappingInfo. 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_INDEXES
Methods in org.apache.openjpa.jdbc.schema that return Index Modifier and Type Method Description Index
Table. addIndex(java.lang.String name)
Deprecated.Index
Table. addIndex(DBIdentifier name)
protected Index
SchemaTool. findIndex(Table dbTable, Index idx)
Find an index in the given table that matches the given one.Index
Table. getIndex(java.lang.String name)
Deprecated.Index
Table. getIndex(DBIdentifier name)
Index[]
Table. getIndexes()
Return the table's indexes.Index
Table. importIndex(Index idx)
Import an index; column names must match columns of this table.protected Index
SchemaGroup. newIndex(java.lang.String name, Table table)
Deprecated.protected Index
SchemaGroup. newIndex(DBIdentifier name, Table table)
Methods in org.apache.openjpa.jdbc.schema with parameters of type Index Modifier and Type Method Description boolean
SchemaTool. createIndex(Index idx, Table table)
Add the given index to the database schema.boolean
SchemaTool. createIndex(Index idx, Table table, Unique[] uniques)
boolean
SchemaTool. dropIndex(Index idx)
Drop the given index from the database schema.boolean
Index. equalsIndex(Index idx)
Indexes are equal if they have the same name, the same columns, and are both unique/not unique.protected Index
SchemaTool. findIndex(Table dbTable, Index idx)
Find an index in the given table that matches the given one.Index
Table. importIndex(Index idx)
Import an index; column names must match columns of this table.boolean
Table. 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 Index
DBDictionary. newIndex(java.sql.ResultSet idxMeta)
Create a new index from the information in the schema metadata.Index
InformixDictionary. newIndex(java.sql.ResultSet idxMeta)
protected Index
SybaseDictionary. 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.String
AbstractSQLServerDictionary. getFullName(Index idx)
java.lang.String
DBDictionary. getFullName(Index index)
Returns the full name of the index, including the schema (delimited by the result ofDBDictionary.catalogSeparator
).java.lang.String
PointbaseDictionary. getFullName(Index index)
boolean
DBDictionary. needsToCreateIndex(Index idx, Table table)
boolean
DBDictionary. needsToCreateIndex(Index idx, Table table, Unique[] uniques)
boolean
InformixDictionary. needsToCreateIndex(Index idx, Table table)
boolean
SolidDBDictionary. needsToCreateIndex(Index idx, Table table, Unique[] uniques)
-