org.springframework.data.document.mongodb.query
Class Index
java.lang.Object
org.springframework.data.document.mongodb.query.Index
- All Implemented Interfaces:
- IndexDefinition
public class Index
- extends Object
- implements IndexDefinition
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Index
public Index()
Index
public Index(String key,
Order order)
on
public Index on(String key,
Order order)
named
public Index named(String name)
unique
public Index unique()
unique
public Index unique(Index.Duplicates duplicates)
getIndexObject
public DBObject getIndexObject()
- Specified by:
getIndexObject in interface IndexDefinition
getIndexOptions
public DBObject getIndexOptions()
- Specified by:
getIndexOptions in interface IndexDefinition
Copyright © 2011. All Rights Reserved.