Class IndexHelper


  • public final class IndexHelper
    extends Object
    A helper class for dealing with index definitions
    Developer note.
    This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
    • 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 collection
        model - the model
        Developer note.
        This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.