|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Inherited @Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface Index
Defines an index
Optional Element Summary | |
---|---|
boolean |
background
Deprecated. use the IndexOptions found in options() |
boolean |
disableValidation
Deprecated. use the IndexOptions found in options() |
boolean |
dropDups
Deprecated. use the IndexOptions found in options() |
int |
expireAfterSeconds
Deprecated. use the IndexOptions found in options() |
Field[] |
fields
List of fields to include in the index. |
String |
name
Deprecated. use the IndexOptions found in options() |
IndexOptions |
options
Options to apply to the index. |
boolean |
sparse
Deprecated. use the IndexOptions found in options() |
boolean |
unique
Deprecated. use the IndexOptions found in options() |
String |
value
Deprecated. use fields() |
public abstract String value
fields()
fields()
this value will be
ignored and logged.
public abstract Field[] fields
options()
and any options defined directly on this annotation will be ignored.
public abstract IndexOptions options
Index
directly.
public abstract String name
IndexOptions
found in options()
public abstract boolean unique
IndexOptions
found in options()
public abstract boolean dropDups
IndexOptions
found in options()
public abstract boolean background
IndexOptions
found in options()
public abstract boolean sparse
IndexOptions
found in options()
public abstract boolean disableValidation
IndexOptions
found in options()
public abstract int expireAfterSeconds
IndexOptions
found in options()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |