Uses of Class
org.springframework.data.mongodb.core.index.IndexField
Packages that use IndexField
Package
Description
Support for MongoDB document indexing.
-
Uses of IndexField in org.springframework.data.mongodb.core.index
Methods in org.springframework.data.mongodb.core.index that return IndexFieldModifier and TypeMethodDescriptionstatic IndexField
IndexField.create
(String key, Sort.Direction order) static IndexField
Creates a geoIndexField
for the given key.static IndexField
Creates a textIndexField
for the given key.Methods in org.springframework.data.mongodb.core.index that return types with arguments of type IndexFieldModifier and TypeMethodDescriptionIndexInfo.getIndexFields()
Returns the individual index fields of the index.Constructor parameters in org.springframework.data.mongodb.core.index with type arguments of type IndexFieldModifierConstructorDescriptionIndexInfo
(List<IndexField> indexFields, String name, boolean unique, boolean sparse, String language) IndexInfo
(List<IndexField> indexFields, String name, boolean unique, boolean sparse, String language, boolean hidden)