Class SearchIndexingPlanFilterContextImpl
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.work.impl.SearchIndexingPlanFilterContextImpl
-
- All Implemented Interfaces:
SearchIndexingPlanFilterContext
public class SearchIndexingPlanFilterContextImpl extends Object implements SearchIndexingPlanFilterContext
-
-
Constructor Summary
Constructors Constructor Description SearchIndexingPlanFilterContextImpl(PojoScopeTypeContextProvider contextProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfiguredSearchIndexingPlanFiltercreateFilter(ConfiguredSearchIndexingPlanFilter fallback)SearchIndexingPlanFilterContextexclude(Class<?> clazz)Specify an indexed/contained type (or its supertype class) to exclude, along with (unless specified otherwise) all its subtypes.SearchIndexingPlanFilterContextexclude(String name)Specify a name of an indexed/contained type (or a name of its named supertype) to exclude, along with (unless specified otherwise) all its subtypes.SearchIndexingPlanFilterContextinclude(Class<?> clazz)Specify an indexed/contained type (or its supertype class) to include, along with (unless specified otherwise) all its subtypes.SearchIndexingPlanFilterContextinclude(String name)Specify a name of an indexed/contained type (or a name of its named supertype) to include, along with (unless specified otherwise) all its subtypes.
-
-
-
Constructor Detail
-
SearchIndexingPlanFilterContextImpl
public SearchIndexingPlanFilterContextImpl(PojoScopeTypeContextProvider contextProvider)
-
-
Method Detail
-
include
public SearchIndexingPlanFilterContext include(String name)
Description copied from interface:SearchIndexingPlanFilterContextSpecify a name of an indexed/contained type (or a name of its named supertype) to include, along with (unless specified otherwise) all its subtypes.- Specified by:
includein interfaceSearchIndexingPlanFilterContext- Parameters:
name- The name of a named type to include according to include/exclude rules.- Returns:
- The same context, for chained calls.
- See Also:
Indexed.index()
-
include
public SearchIndexingPlanFilterContext include(Class<?> clazz)
Description copied from interface:SearchIndexingPlanFilterContextSpecify an indexed/contained type (or its supertype class) to include, along with (unless specified otherwise) all its subtypes.- Specified by:
includein interfaceSearchIndexingPlanFilterContext- Parameters:
clazz- The class to include according to include/exclude rules.- Returns:
- The same context, for chained calls.
-
exclude
public SearchIndexingPlanFilterContext exclude(String name)
Description copied from interface:SearchIndexingPlanFilterContextSpecify a name of an indexed/contained type (or a name of its named supertype) to exclude, along with (unless specified otherwise) all its subtypes.- Specified by:
excludein interfaceSearchIndexingPlanFilterContext- Parameters:
name- The name of a named type to exclude according to include/exclude rules.- Returns:
- The same context, for chained calls.
- See Also:
Indexed.index()
-
exclude
public SearchIndexingPlanFilterContext exclude(Class<?> clazz)
Description copied from interface:SearchIndexingPlanFilterContextSpecify an indexed/contained type (or its supertype class) to exclude, along with (unless specified otherwise) all its subtypes.- Specified by:
excludein interfaceSearchIndexingPlanFilterContext- Parameters:
clazz- The class to exclude according to include/exclude rules.- Returns:
- The same context, for chained calls.
-
createFilter
public ConfiguredSearchIndexingPlanFilter createFilter(ConfiguredSearchIndexingPlanFilter fallback)
-
-