|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Index | |
---|---|
org.apache.openjpa.jdbc.meta | OpenJPA-JDBC ORM Metadata |
org.apache.openjpa.jdbc.schema | OpenJPA-JDBC Schema Management |
org.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 | |
---|---|
protected Index |
MappingInfo.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. |
Index |
MappingInfo.getIndex()
Raw index. |
Index |
Version.getIndex()
Index on the version columns, or null if none. |
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 |
MappingDefaultsImpl.getIndex(Discriminator disc,
Table table,
Column[] cols)
|
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 |
NoneMappingDefaults.getIndex(Discriminator disc,
Table table,
Column[] cols)
|
Index |
ValueMappingInfo.getIndex(ValueMapping val,
String name,
boolean adapt)
Return an index for the given columns, or null if none. |
Index |
MappingDefaultsImpl.getIndex(ValueMapping vm,
String name,
Table table,
Column[] cols)
|
Index |
MappingDefaults.getIndex(ValueMapping vm,
String 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 |
NoneMappingDefaults.getIndex(ValueMapping vm,
String name,
Table table,
Column[] cols)
|
Index |
VersionMappingInfo.getIndex(Version version,
Column[] cols,
boolean adapt)
Return the index to set on the version columns, or null if none. |
Index |
MappingDefaultsImpl.getIndex(Version vers,
Table table,
Column[] cols)
|
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 |
NoneMappingDefaults.getIndex(Version vers,
Table table,
Column[] cols)
|
Index |
FieldMapping.getJoinIndex()
Index on join foreign key columns. |
Index |
FieldMappingInfo.getJoinIndex(FieldMapping field,
boolean adapt)
Index on the field join. |
Index |
MappingDefaultsImpl.getJoinIndex(FieldMapping fm,
Table table,
Column[] cols)
|
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 |
NoneMappingDefaults.getJoinIndex(FieldMapping fm,
Table table,
Column[] cols)
|
Index |
ValueMappingImpl.getValueIndex()
|
Index |
FieldMapping.getValueIndex()
|
Index |
ValueMapping.getValueIndex()
Index on this value's columns, or null if none. |
Methods in org.apache.openjpa.jdbc.meta with parameters of type Index | |
---|---|
protected Index |
MappingInfo.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. |
void |
MappingInfo.setIndex(Index idx)
Raw index. |
void |
Version.setIndex(Index idx)
Index on the version columns, or null if none. |
void |
Discriminator.setIndex(Index idx)
Index on the Discriminator columns, or null if none. |
void |
FieldMapping.setJoinIndex(Index idx)
Index on join foreign key columns. |
void |
ValueMappingImpl.setValueIndex(Index idx)
|
void |
FieldMapping.setValueIndex(Index idx)
|
void |
ValueMapping.setValueIndex(Index idx)
Index on this value's columns, or null if none. |
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 | |
---|---|
static Index[] |
Schemas.EMPTY_INDEXES
|
Methods in org.apache.openjpa.jdbc.schema that return Index | |
---|---|
Index |
Table.addIndex(String name)
Add an index to the table. |
Index |
Table.getIndex(String name)
Return the index with the given name, or null if none. |
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(String name,
Table table)
Return a new index with the given name and owner table. |
Methods in org.apache.openjpa.jdbc.schema with parameters of type Index | |
---|---|
boolean |
SchemaTool.createIndex(Index idx,
Table table)
Add the given index to the database schema. |
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. |
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 | |
---|---|
Index[] |
DBDictionary.getIndexInfo(DatabaseMetaData meta,
String catalog,
String schemaName,
String 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 |
InformixDictionary.newIndex(ResultSet idxMeta)
|
protected Index |
SybaseDictionary.newIndex(ResultSet idxMeta)
Create a new index from the information in the index metadata. |
protected Index |
DBDictionary.newIndex(ResultSet idxMeta)
Create a new index from the information in the schema metadata. |
Methods in org.apache.openjpa.jdbc.sql with parameters of type Index | |
---|---|
String[] |
DBDictionary.getCreateIndexSQL(Index index)
Return a series of SQL statements to create the given index. |
String[] |
FoxProDictionary.getCreateIndexSQL(Index index)
|
String[] |
MySQLDictionary.getDropIndexSQL(Index index)
|
String[] |
DBDictionary.getDropIndexSQL(Index index)
Return a series of SQL statements to drop the given index. |
String |
AbstractSQLServerDictionary.getFullName(Index idx)
|
String |
PointbaseDictionary.getFullName(Index index)
|
String |
DBDictionary.getFullName(Index index)
Returns the full name of the index, including the schema (delimited by the result of DBDictionary.catalogSeparator ). |
boolean |
InformixDictionary.needsToCreateIndex(Index idx,
Table table)
|
boolean |
DBDictionary.needsToCreateIndex(Index idx,
Table table)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |