public class CompoundIndexDefinition extends Index
Index.Duplicates| Constructor and Description |
|---|
CompoundIndexDefinition(com.mongodb.DBObject keys)
Creates a new
CompoundIndexDefinition for the given keys. |
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.DBObject |
getIndexKeys() |
public CompoundIndexDefinition(com.mongodb.DBObject keys)
CompoundIndexDefinition for the given keys.keys - must not be null.public com.mongodb.DBObject getIndexKeys()
getIndexKeys in interface IndexDefinitiongetIndexKeys in class IndexCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.