Class MongoIndexDao

java.lang.Object
dev.getelements.elements.dao.mongo.MongoIndexDao
All Implemented Interfaces:
IndexDao

public class MongoIndexDao extends Object implements IndexDao
  • Constructor Details

    • MongoIndexDao

      public MongoIndexDao()
  • Method Details

    • getPlans

      public Pagination<IndexPlan<?>> getPlans(int offset, int count)
      Description copied from interface: IndexDao
      Gets all plans in the system.
      Specified by:
      getPlans in interface IndexDao
      Parameters:
      offset -
      count -
      Returns:
    • getMapper

      public MapperRegistry getMapper()
    • setMapper

      @Inject public void setMapper(MapperRegistry mapperRegistry)
    • getMongoDBUtils

      public MongoDBUtils getMongoDBUtils()
    • setMongoDBUtils

      @Inject public void setMongoDBUtils(MongoDBUtils mongoDBUtils)
    • planAll

      public void planAll()
      Description copied from interface: IndexDao
      Plans all index operations.
      Specified by:
      planAll in interface IndexDao
    • planType

      public void planType(IndexableType indexableType)
      Description copied from interface: IndexDao
      Plans a specific type.
      Specified by:
      planType in interface IndexDao
      Parameters:
      indexableType - the type
    • beginIndexing

      public IndexDao.Indexer beginIndexing()
      Description copied from interface: IndexDao
      Starts the index process.
      Specified by:
      beginIndexing in interface IndexDao
      Returns:
      the IndexDao.Indexer
    • getIndexableByType

      public Map<IndexableType,Indexable> getIndexableByType()
    • setIndexableByType

      @Inject public void setIndexableByType(Map<IndexableType,Indexable> indexableByType)
    • getIndexerProvider

      public jakarta.inject.Provider<IndexDao.Indexer> getIndexerProvider()
    • setIndexerProvider

      @Inject public void setIndexerProvider(jakarta.inject.Provider<IndexDao.Indexer> indexerProvider)
    • getDatastore

      public dev.morphia.Datastore getDatastore()
    • setDatastore

      @Inject public void setDatastore(dev.morphia.Datastore datastore)