About index

1-10 of 200Refresh
Manual
221

Index Definition

Querying without indexes requires iteration over entity objects in the database one by one. This may take a significant amount of time if many entity objects have to be examined. Using proper indexes ... . Index management introduces overhead in terms of maintenance time and storage space, so deciding
JDO Doc
147

JDO Annotations for Index Definition

The following annotations are used to define indexes on persistent fields: The Index Definition section of the ObjectDB manual explains these annotations in details.
JDO Doc
53

javax.jdo.annotations.Index

javax.jdo.annotations Annotation Index Target: Classes and fields (including property get methods) Annotation for a database index. Used for database schema generation to create indexes. Corresponds to the xml element "index". Since: JDO 2.1 Column[] columns Columns that compose this index. Columns
JDO Doc
46

Index.table

Annotation Element javax.jdo.annotations.Index String table Table for the index. This is needed iff annotating a type where the index is not defined on the primary table for the type. Returns: the table on which the index is defined Default value: "" Since: JDO 2.1
JDO Doc
45

Discriminator.indexed

Annotation Element javax.jdo.annotations.Discriminator String indexed Whether the discriminator is indexed. Returns: whether the discriminator is indexed Default value: "" Since: JDO 2.1
JDO Doc
45

Element.index

Annotation Element javax.jdo.annotations.Element String index The name of the index to generate. Returns: the name of the index Default value: "" Since: JDO 2.1
JDO Doc
45

Element.indexed

Annotation Element javax.jdo.annotations.Element String indexed Whether the value column(s) should be indexed. Returns: whether the value column(s) should be indexed. Default value: "" Since: JDO 2.1
JPA Doc
45

index()

Method javax.persistence.criteria.ListJoin Expression index() Create an expression that corresponds to the index of the object in the referenced association or element collection ... for which an order column has been defined. Returns: expression denoting the index Since: JPA 2.0
JDO Doc
45

Index.columns

Annotation Element javax.jdo.annotations.Index Column[] columns Columns that compose this index. Returns: columns that compose this index Default value: {} Since: JDO 2.1
JDO Doc
45

Index.members

Annotation Element javax.jdo.annotations.Index String[] members Member (field and property) names that compose this index. Returns: member names that compose this index Default value: {} Since: JDO 2.1