@Documented @Inherited @Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface Index
| Modifier and Type | Optional Element and Description |
|---|---|
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 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()Copyright © 2021. All rights reserved.