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. |
com.mongodb.DBObject |
getIndexKeys() |
com.mongodb.DBObject |
getIndexOptions() |
String |
getPath()
Get the "dot" path used to create the index.
|
public IndexDefinitionHolder(String path, IndexDefinition definition, String collection)
path - public String getCollection()
public String getPath()
public IndexDefinition getIndexDefinition()
IndexDefinition.public com.mongodb.DBObject getIndexKeys()
getIndexKeys in interface IndexDefinitionpublic com.mongodb.DBObject getIndexOptions()
getIndexOptions in interface IndexDefinitionCopyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.