Class 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 Detail

      • 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)
    • Method Detail

      • scope

        public <E> org.infinispan.search.mapper.scope.SearchScope<E> scope​(Collection<? extends Class<? extends E>> types)
        Specified by:
        scope in interface org.infinispan.search.mapper.mapping.SearchMapping
      • scopeAll

        public org.infinispan.search.mapper.scope.SearchScope<?> scopeAll()
        Specified by:
        scopeAll in interface org.infinispan.search.mapper.mapping.SearchMapping
      • getFailureHandler

        public org.hibernate.search.engine.reporting.FailureHandler getFailureHandler()
        Specified by:
        getFailureHandler in interface org.infinispan.search.mapper.mapping.SearchMapping
      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface org.infinispan.search.mapper.mapping.SearchMapping
      • isClose

        public boolean isClose()
        Specified by:
        isClose in interface org.infinispan.search.mapper.mapping.SearchMapping
      • isRestarting

        public boolean isRestarting()
        Specified by:
        isRestarting in interface org.infinispan.search.mapper.mapping.SearchMapping
      • getMappingSession

        public org.infinispan.search.mapper.session.SearchSession getMappingSession()
        Specified by:
        getMappingSession in interface org.infinispan.search.mapper.mapping.SearchMapping
      • getSearchIndexer

        public org.infinispan.search.mapper.work.SearchIndexer getSearchIndexer()
        Specified by:
        getSearchIndexer in interface org.infinispan.search.mapper.mapping.SearchMapping
      • indexedEntity

        public org.infinispan.search.mapper.mapping.SearchIndexedEntity indexedEntity​(Class<?> entityType)
        Specified by:
        indexedEntity in interface org.infinispan.search.mapper.mapping.SearchMapping
      • indexedEntity

        public org.infinispan.search.mapper.mapping.SearchIndexedEntity indexedEntity​(String entityName)
        Specified by:
        indexedEntity in interface org.infinispan.search.mapper.mapping.SearchMapping
      • allIndexedEntities

        public Collection<? extends org.infinispan.search.mapper.mapping.SearchIndexedEntity> allIndexedEntities()
        Specified by:
        allIndexedEntities in interface org.infinispan.search.mapper.mapping.SearchMapping
      • allIndexedEntityNames

        public Set<String> allIndexedEntityNames()
        Specified by:
        allIndexedEntityNames in interface org.infinispan.search.mapper.mapping.SearchMapping
      • allIndexedEntityJavaClasses

        public Set<Class<?>> allIndexedEntityJavaClasses()
        Specified by:
        allIndexedEntityJavaClasses in interface org.infinispan.search.mapper.mapping.SearchMapping
      • toConvertedEntityJavaClass

        public Class<?> toConvertedEntityJavaClass​(Object value)
        Specified by:
        toConvertedEntityJavaClass in interface org.infinispan.search.mapper.mapping.SearchMapping
      • reload

        public void reload()
        Specified by:
        reload in interface org.infinispan.search.mapper.mapping.SearchMapping
      • restart

        public void restart()
        Specified by:
        restart in interface org.infinispan.search.mapper.mapping.SearchMapping