Interface IIndexingService<T>
-
- Type Parameters:
T- the object to index
public interface IIndexingService<T>This interface enables to index any object
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteAllIndexes()Deletes the index for all the objectsvoiddeleteIndex(T object)Delete indexvoidindex(T object)Indexes a objectvoidindexList(List<T> listObjects)Index a list of objects
-
-
-
Method Detail
-
index
void index(T object) throws IndexingException
Indexes a object- Parameters:
object- the object to index- Throws:
IndexingException- if there is an exception during the indexing
-
indexList
void indexList(List<T> listObjects) throws IndexingException
Index a list of objects- Parameters:
listObjects- the list of objects to index- Throws:
IndexingException- if there is an exception during the indexing
-
deleteIndex
void deleteIndex(T object) throws IndexingException
Delete index- Parameters:
object- the object to delete- Throws:
IndexingException- if there is an exception during the deletion
-
deleteAllIndexes
void deleteAllIndexes() throws IndexingExceptionDeletes the index for all the objects- Throws:
IndexingException- if there is an exception during the deletion
-
-