Class MongoIndexDao
java.lang.Object
dev.getelements.elements.dao.mongo.MongoIndexDao
- All Implemented Interfaces:
IndexDao
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.getelements.elements.sdk.dao.IndexDao
IndexDao.Indexer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionStarts the index process.dev.morphia.Datastorejakarta.inject.Provider<IndexDao.Indexer> Pagination<IndexPlan<?>> getPlans(int offset, int count) Gets all plans in the system.voidplanAll()Plans all index operations.voidplanType(IndexableType indexableType) Plans a specific type.voidsetDatastore(dev.morphia.Datastore datastore) voidsetIndexableByType(Map<IndexableType, Indexable> indexableByType) voidsetIndexerProvider(jakarta.inject.Provider<IndexDao.Indexer> indexerProvider) voidsetMapper(MapperRegistry mapperRegistry) voidsetMongoDBUtils(MongoDBUtils mongoDBUtils)
-
Constructor Details
-
MongoIndexDao
public MongoIndexDao()
-
-
Method Details
-
getPlans
Description copied from interface:IndexDaoGets all plans in the system. -
getMapper
-
setMapper
-
getMongoDBUtils
-
setMongoDBUtils
-
planAll
public void planAll()Description copied from interface:IndexDaoPlans all index operations. -
planType
Description copied from interface:IndexDaoPlans a specific type. -
beginIndexing
Description copied from interface:IndexDaoStarts the index process.- Specified by:
beginIndexingin interfaceIndexDao- Returns:
- the
IndexDao.Indexer
-
getIndexableByType
-
setIndexableByType
-
getIndexerProvider
-
setIndexerProvider
-
getDatastore
public dev.morphia.Datastore getDatastore() -
setDatastore
@Inject public void setDatastore(dev.morphia.Datastore datastore)
-