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.Datastore
jakarta.inject.Provider
<IndexDao.Indexer> Pagination
<IndexPlan<?>> getPlans
(int offset, int count) Gets all plans in the system.void
planAll()
Plans all index operations.void
planType
(IndexableType indexableType) Plans a specific type.void
setDatastore
(dev.morphia.Datastore datastore) void
setIndexableByType
(Map<IndexableType, Indexable> indexableByType) void
setIndexerProvider
(jakarta.inject.Provider<IndexDao.Indexer> indexerProvider) void
setMapper
(MapperRegistry mapperRegistry) void
setMongoDBUtils
(MongoDBUtils mongoDBUtils)
-
Constructor Details
-
MongoIndexDao
public MongoIndexDao()
-
-
Method Details
-
getPlans
Description copied from interface:IndexDao
Gets all plans in the system. -
getMapper
-
setMapper
-
getMongoDBUtils
-
setMongoDBUtils
-
planAll
public void planAll()Description copied from interface:IndexDao
Plans all index operations. -
planType
Description copied from interface:IndexDao
Plans a specific type. -
beginIndexing
Description copied from interface:IndexDao
Starts the index process.- Specified by:
beginIndexing
in interfaceIndexDao
- Returns:
- the
IndexDao.Indexer
-
getIndexableByType
-
setIndexableByType
-
getIndexerProvider
-
setIndexerProvider
-
getDatastore
public dev.morphia.Datastore getDatastore() -
setDatastore
@Inject public void setDatastore(dev.morphia.Datastore datastore)
-