Package org.infinispan.query.remote.impl
Class LazySearchMapping
java.lang.Object
org.infinispan.query.remote.impl.LazySearchMapping
- All Implemented Interfaces:
AutoCloseable,org.infinispan.search.mapper.mapping.SearchMapping
public class LazySearchMapping
extends Object
implements org.infinispan.search.mapper.mapping.SearchMapping
- Since:
- 12.0
-
Constructor Summary
ConstructorsConstructorDescriptionLazySearchMapping(org.infinispan.search.mapper.mapping.SearchMappingCommonBuilding commonBuilding, org.infinispan.query.impl.EntityLoader<?> entityLoader, org.infinispan.protostream.SerializationContext serCtx, org.infinispan.AdvancedCache<?, ?> cache, ProtobufMetadataManagerImpl protobufMetadataManager, org.infinispan.query.core.impl.QueryCache queryCache) -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends org.infinispan.search.mapper.mapping.SearchIndexedEntity>voidclose()org.hibernate.search.engine.reporting.FailureHandlerorg.infinispan.search.mapper.session.SearchSessionorg.infinispan.search.mapper.work.SearchIndexerCollection<? extends org.infinispan.search.mapper.mapping.SearchIndexedEntity>org.infinispan.search.mapper.mapping.SearchIndexedEntityindexedEntity(Class<?> entityType) org.infinispan.search.mapper.mapping.SearchIndexedEntityindexedEntity(String entityName) booleanisClose()booleanvoidreload()voidrestart()<E> org.infinispan.search.mapper.scope.SearchScope<E>scope(Collection<? extends Class<? extends E>> types) org.infinispan.search.mapper.scope.SearchScope<?>scopeAll()Class<?>toConvertedEntityJavaClass(Object value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.search.mapper.mapping.SearchMapping
scope
-
Constructor Details
-
LazySearchMapping
public LazySearchMapping(org.infinispan.search.mapper.mapping.SearchMappingCommonBuilding commonBuilding, org.infinispan.query.impl.EntityLoader<?> entityLoader, org.infinispan.protostream.SerializationContext serCtx, org.infinispan.AdvancedCache<?, ?> cache, ProtobufMetadataManagerImpl protobufMetadataManager, org.infinispan.query.core.impl.QueryCache queryCache)
-
-
Method Details
-
scope
public <E> org.infinispan.search.mapper.scope.SearchScope<E> scope(Collection<? extends Class<? extends E>> types) - Specified by:
scopein interfaceorg.infinispan.search.mapper.mapping.SearchMapping
-
scopeAll
public org.infinispan.search.mapper.scope.SearchScope<?> scopeAll()- Specified by:
scopeAllin interfaceorg.infinispan.search.mapper.mapping.SearchMapping
-
getFailureHandler
public org.hibernate.search.engine.reporting.FailureHandler getFailureHandler()- Specified by:
getFailureHandlerin interfaceorg.infinispan.search.mapper.mapping.SearchMapping
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.infinispan.search.mapper.mapping.SearchMapping
-
isClose
public boolean isClose()- Specified by:
isClosein interfaceorg.infinispan.search.mapper.mapping.SearchMapping
-
isRestarting
public boolean isRestarting()- Specified by:
isRestartingin interfaceorg.infinispan.search.mapper.mapping.SearchMapping
-
getMappingSession
public org.infinispan.search.mapper.session.SearchSession getMappingSession()- Specified by:
getMappingSessionin interfaceorg.infinispan.search.mapper.mapping.SearchMapping
-
getSearchIndexer
public org.infinispan.search.mapper.work.SearchIndexer getSearchIndexer()- Specified by:
getSearchIndexerin interfaceorg.infinispan.search.mapper.mapping.SearchMapping
-
indexedEntity
- Specified by:
indexedEntityin interfaceorg.infinispan.search.mapper.mapping.SearchMapping
-
indexedEntity
- Specified by:
indexedEntityin interfaceorg.infinispan.search.mapper.mapping.SearchMapping
-
allIndexedEntities
public Collection<? extends org.infinispan.search.mapper.mapping.SearchIndexedEntity> allIndexedEntities()- Specified by:
allIndexedEntitiesin interfaceorg.infinispan.search.mapper.mapping.SearchMapping
-
indexedEntitiesForStatistics
public Collection<? extends org.infinispan.search.mapper.mapping.SearchIndexedEntity> indexedEntitiesForStatistics()- Specified by:
indexedEntitiesForStatisticsin interfaceorg.infinispan.search.mapper.mapping.SearchMapping
-
allIndexedEntityNames
- Specified by:
allIndexedEntityNamesin interfaceorg.infinispan.search.mapper.mapping.SearchMapping
-
allIndexedEntityJavaClasses
- Specified by:
allIndexedEntityJavaClassesin interfaceorg.infinispan.search.mapper.mapping.SearchMapping
-
toConvertedEntityJavaClass
- Specified by:
toConvertedEntityJavaClassin interfaceorg.infinispan.search.mapper.mapping.SearchMapping
-
metamodel
- Specified by:
metamodelin interfaceorg.infinispan.search.mapper.mapping.SearchMapping
-
reload
public void reload()- Specified by:
reloadin interfaceorg.infinispan.search.mapper.mapping.SearchMapping
-
restart
public void restart()- Specified by:
restartin interfaceorg.infinispan.search.mapper.mapping.SearchMapping
-