public static class MongoPersistentEntityIndexResolver.IndexDefinitionHolder extends Object implements IndexDefinition
IndexDefinition holding additional (property)path information used for creating the
index. The path itself is the properties "dot" path representation from its root document.| Constructor and Description |
|---|
IndexDefinitionHolder(String path,
IndexDefinition definition,
String collection)
Create
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCollection() |
IndexDefinition |
getIndexDefinition()
Get the raw
IndexDefinition. |
org.bson.Document |
getIndexKeys()
Get the
Document containing properties covered by the index. |
org.bson.Document |
getIndexOptions()
Get the index properties such as unique,...
|
String |
getPath()
Get the "dot" path used to create the index.
|
String |
toString() |
public IndexDefinitionHolder(String path, IndexDefinition definition, String collection)
path - public String getCollection()
public String getPath()
public IndexDefinition getIndexDefinition()
IndexDefinition.public org.bson.Document getIndexKeys()
IndexDefinitionDocument containing properties covered by the index.getIndexKeys in interface IndexDefinitionpublic org.bson.Document getIndexOptions()
IndexDefinitiongetIndexOptions in interface IndexDefinitionCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.