Class SearchIndexerImpl
- java.lang.Object
-
- org.infinispan.search.mapper.work.impl.SearchIndexerImpl
-
- All Implemented Interfaces:
AutoCloseable,SearchIndexer
public class SearchIndexerImpl extends Object implements SearchIndexer
- Author:
- Fabio Massimo Ercoli
-
-
Constructor Summary
Constructors Constructor Description SearchIndexerImpl(org.hibernate.search.mapper.pojo.work.spi.PojoIndexer delegate, EntityConverter entityConverter, InfinispanTypeContextProvider typeContextProvider, org.infinispan.util.concurrent.BlockingManager blockingManager, org.infinispan.util.concurrent.NonBlockingManager nonBlockingManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<?>add(Object providedId, String routingKey, Object entity)CompletableFuture<?>addOrUpdate(Object providedId, String routingKey, Object entity)voidclose()CompletableFuture<?>delete(Object providedId, String routingKey, Object entity)CompletableFuture<?>purge(Object providedId, String routingKey)
-
-
-
Constructor Detail
-
SearchIndexerImpl
public SearchIndexerImpl(org.hibernate.search.mapper.pojo.work.spi.PojoIndexer delegate, EntityConverter entityConverter, InfinispanTypeContextProvider typeContextProvider, org.infinispan.util.concurrent.BlockingManager blockingManager, org.infinispan.util.concurrent.NonBlockingManager nonBlockingManager)
-
-
Method Detail
-
add
public CompletableFuture<?> add(Object providedId, String routingKey, Object entity)
- Specified by:
addin interfaceSearchIndexer
-
addOrUpdate
public CompletableFuture<?> addOrUpdate(Object providedId, String routingKey, Object entity)
- Specified by:
addOrUpdatein interfaceSearchIndexer
-
delete
public CompletableFuture<?> delete(Object providedId, String routingKey, Object entity)
- Specified by:
deletein interfaceSearchIndexer
-
purge
public CompletableFuture<?> purge(Object providedId, String routingKey)
- Specified by:
purgein interfaceSearchIndexer
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSearchIndexer
-
-