|
Spring Data MongoDB - Core | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Index | |
|---|---|
| org.springframework.data.mongodb.core.index | Support for MongoDB document indexing. |
| Uses of Index in org.springframework.data.mongodb.core.index |
|---|
| Subclasses of Index in org.springframework.data.mongodb.core.index | |
|---|---|
class |
CompoundIndexDefinition
Index definition to span multiple keys. |
| Methods in org.springframework.data.mongodb.core.index that return Index | |
|---|---|
Index |
Index.background()
Build the index in background (non blocking). |
Index |
Index.expire(long value)
Specifies TTL in seconds. |
Index |
Index.expire(long value,
TimeUnit unit)
Specifies TTL with given TimeUnit. |
Index |
Index.named(String name)
|
Index |
Index.on(String key,
Order order)
Deprecated. use #on(String, Direction) instead. |
Index |
Index.on(String key,
Sort.Direction direction)
|
Index |
Index.sparse()
Skip over any document that is missing the indexed field. |
Index |
Index.unique()
Reject all documents that contain a duplicate value for the indexed field. |
Index |
Index.unique(Index.Duplicates duplicates)
|
|
Spring Data MongoDB - Core | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||