org.springframework.data.mongodb.core.index
Class CompoundIndexDefinition
java.lang.Object
org.springframework.data.mongodb.core.index.Index
org.springframework.data.mongodb.core.index.CompoundIndexDefinition
- All Implemented Interfaces:
- IndexDefinition
public class CompoundIndexDefinition
- extends Index
Index definition to span multiple keys.
- Since:
- 1.5
- Author:
- Christoph Strobl
| Nested classes/interfaces inherited from class org.springframework.data.mongodb.core.index.Index |
Index.Duplicates |
| Methods inherited from class org.springframework.data.mongodb.core.index.Index |
background, expire, expire, getIndexOptions, named, on, on, sparse, toString, unique, unique |
CompoundIndexDefinition
public CompoundIndexDefinition(com.mongodb.DBObject keys)
- Creates a new
CompoundIndexDefinition for the given keys.
- Parameters:
keys - must not be null.
getIndexKeys
public com.mongodb.DBObject getIndexKeys()
- Specified by:
getIndexKeys in interface IndexDefinition- Overrides:
getIndexKeys in class Index
Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.