Package dev.morphia.annotations
Class IndexHelper
- java.lang.Object
-
- dev.morphia.annotations.IndexHelper
-
public final class IndexHelper extends Object
A helper class for dealing with index definitionsDeveloper note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
-
Constructor Summary
Constructors Constructor Description IndexHelper(Mapper mapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createIndex(com.mongodb.client.MongoCollection<?> collection, EntityModel model)
-
-
-
Constructor Detail
-
IndexHelper
public IndexHelper(Mapper mapper)
- Parameters:
mapper
- the mapper
Developer note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
-
Method Detail
-
createIndex
public void createIndex(com.mongodb.client.MongoCollection<?> collection, EntityModel model)
- Parameters:
collection
- the collectionmodel
- the model
Developer note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
-