Module spring.data.mongodb
Interface IndexDefinition
- All Known Implementing Classes:
CompoundIndexDefinition,GeospatialIndex,HashedIndex,Index,MongoPersistentEntityIndexResolver.IndexDefinitionHolder,TextIndexDefinition,WildcardIndex
public interface IndexDefinition
- Author:
- Jon Brisbin <jbrisbin@vmware.com>, Christoph Strobl, Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionorg.bson.DocumentGet theDocumentcontaining properties covered by the index.org.bson.DocumentGet the index properties such as unique,...
-
Method Details
-
getIndexKeys
org.bson.Document getIndexKeys()Get theDocumentcontaining properties covered by the index.- Returns:
- never null.
-
getIndexOptions
org.bson.Document getIndexOptions()Get the index properties such as unique,...- Returns:
- never null.
-