public class CompoundIndexDefinition extends Index
Index.Duplicates| Constructor and Description |
|---|
CompoundIndexDefinition(org.bson.Document keys)
Creates a new
CompoundIndexDefinition for the given keys. |
| Modifier and Type | Method and Description |
|---|---|
org.bson.Document |
getIndexKeys()
Get the
Document containing properties covered by the index. |
public CompoundIndexDefinition(org.bson.Document keys)
CompoundIndexDefinition for the given keys.keys - must not be null.public org.bson.Document getIndexKeys()
IndexDefinitionDocument containing properties covered by the index.getIndexKeys in interface IndexDefinitiongetIndexKeys in class IndexCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.