Package io.jmix.search.index.impl
Class NoopEntityIndexer
java.lang.Object
io.jmix.search.index.impl.NoopEntityIndexer
- All Implemented Interfaces:
EntityIndexer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeletes provided entity instance from index.deleteByEntityId(Id<?> entityId) Deletes entity instance from index by provided ID.deleteCollection(Collection<Object> entityInstances) Deletes provided entity instances from index.deleteCollectionByEntityIds(Collection<Id<?>> entityIds) Deletes entity instances from index by provided IDs.Stores provided entity instance to index.indexByEntityId(Id<?> entityId) Stores entity instance to index by provided ID.indexCollection(Collection<Object> entityInstances) Stores provided entity instances to index.indexCollectionByEntityIds(Collection<Id<?>> entityIds) Stores entity instances to index by provided IDs.
-
Constructor Details
-
NoopEntityIndexer
public NoopEntityIndexer()
-
-
Method Details
-
index
Description copied from interface:EntityIndexerStores provided entity instance to index.- Specified by:
indexin interfaceEntityIndexer- Parameters:
entityInstance- instance- Returns:
IndexResult
-
indexCollection
Description copied from interface:EntityIndexerStores provided entity instances to index.- Specified by:
indexCollectionin interfaceEntityIndexer- Parameters:
entityInstances- instances- Returns:
IndexResult
-
indexByEntityId
Description copied from interface:EntityIndexerStores entity instance to index by provided ID.- Specified by:
indexByEntityIdin interfaceEntityIndexer- Parameters:
entityId- ID of entity instance- Returns:
IndexResult
-
indexCollectionByEntityIds
Description copied from interface:EntityIndexerStores entity instances to index by provided IDs.- Specified by:
indexCollectionByEntityIdsin interfaceEntityIndexer- Parameters:
entityIds- IDs of entity instances- Returns:
IndexResult
-
delete
Description copied from interface:EntityIndexerDeletes provided entity instance from index.- Specified by:
deletein interfaceEntityIndexer- Parameters:
entityInstance- instance- Returns:
IndexResult
-
deleteCollection
Description copied from interface:EntityIndexerDeletes provided entity instances from index.- Specified by:
deleteCollectionin interfaceEntityIndexer- Parameters:
entityInstances- instances- Returns:
IndexResult
-
deleteByEntityId
Description copied from interface:EntityIndexerDeletes entity instance from index by provided ID.- Specified by:
deleteByEntityIdin interfaceEntityIndexer- Parameters:
entityId- ID of entity instance- Returns:
IndexResult
-
deleteCollectionByEntityIds
Description copied from interface:EntityIndexerDeletes entity instances from index by provided IDs.- Specified by:
deleteCollectionByEntityIdsin interfaceEntityIndexer- Parameters:
entityIds- IDs of entity instances- Returns:
IndexResult
-