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 java.lang.Object
- implements IndexDefinition
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Index
public Index()
Index
public Index(java.lang.String key,
Order order)
on
public Index on(java.lang.String key,
Order order)
named
public Index named(java.lang.String name)
unique
public Index unique()
sparse
public Index sparse()
unique
public Index unique(Index.Duplicates duplicates)
getIndexKeys
public com.mongodb.DBObject getIndexKeys()
- Specified by:
getIndexKeys
in interface IndexDefinition
getIndexOptions
public com.mongodb.DBObject getIndexOptions()
- Specified by:
getIndexOptions
in interface IndexDefinition
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2011. All Rights Reserved.