Package org.infinispan.query.remote.impl
Class ProgrammaticSearchMappingProviderImpl
- java.lang.Object
-
- org.infinispan.query.remote.impl.ProgrammaticSearchMappingProviderImpl
-
- All Implemented Interfaces:
ProgrammaticSearchMappingProvider
@MetaInfServices public final class ProgrammaticSearchMappingProviderImpl extends Object implements ProgrammaticSearchMappingProvider
A ProgrammaticSearchMappingProvider that defines indexing for ProtobufValueWrapper with hibernate-search.- Since:
- 6.0
- Author:
- anistor@redhat.com
-
-
Constructor Summary
Constructors Constructor Description ProgrammaticSearchMappingProviderImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defineMappings(Cache cache, org.hibernate.search.cfg.SearchMapping searchMapping)
Supply some custom programmatic mappings to Hibernate Search.static String
getIndexName(String cacheName)
Creates the name of the index given a cache name.
-
-
-
Method Detail
-
getIndexName
public static String getIndexName(String cacheName)
Creates the name of the index given a cache name.
-
defineMappings
public void defineMappings(Cache cache, org.hibernate.search.cfg.SearchMapping searchMapping)
Description copied from interface:ProgrammaticSearchMappingProvider
Supply some custom programmatic mappings to Hibernate Search.- Specified by:
defineMappings
in interfaceProgrammaticSearchMappingProvider
- Parameters:
cache
- the indexed cache instancesearchMapping
- the mapping object to customize
-
-