@Retention(value=RUNTIME) @Target(value={}) @Documented public @interface JCompositeIndex
JSimpleClass-annotated class.
A composite index is an index on two or more fields (to define a single-field index,
just set JField.indexed() to true). All fields indexed in a composite index
must be (a) simple and (b) not a sub-field of a complex field.
JSimpleClass| Modifier and Type | Required Element and Description |
|---|---|
String[] |
fields
The names of the indexed fields, in the desired order.
|
String |
name
The name of this composite index.
|
| Modifier and Type | Optional Element and Description |
|---|---|
int |
storageId
The storage ID for this composite index.
|
public abstract String name
public abstract String[] fields
public abstract int storageId
StorageIdGenerator will be consulted to auto-generate a value.StorageIdGenerator.generateCompositeIndexStorageId()Copyright © 2017. All rights reserved.