Class PojoTypeManagerContainer
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.mapping.impl.PojoTypeManagerContainer
-
- All Implemented Interfaces:
AutoCloseable,PojoMassIndexingTypeContextProvider,PojoScopeTypeContextProvider,PojoWorkTypeContextProvider
public class PojoTypeManagerContainer extends Object implements AutoCloseable, PojoWorkTypeContextProvider, PojoScopeTypeContextProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPojoTypeManagerContainer.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <E> Set<? extends PojoWorkTypeContext<?,? extends E>>allByNonInterfaceSuperType(PojoRawTypeIdentifier<E> typeIdentifier)Set<PojoRawTypeIdentifier<?>>allIndexedAndContainedTypes()<E> Optional<? extends Set<? extends PojoScopeIndexedTypeContext<?,? extends E>>>allIndexedForSuperType(PojoRawTypeIdentifier<E> typeIdentifier)Set<PojoRawTypeIdentifier<?>>allIndexedSuperTypes()Set<PojoRawTypeIdentifier<?>>allNonInterfaceSuperTypes()Set<Class<?>>allNonInterfaceSuperTypesClasses()static PojoTypeManagerContainer.Builderbuilder()KeyValueProvider<String,? extends PojoWorkTypeContext<?,?>>byEntityName()voidclose()<E> AbstractPojoTypeManager<?,E>forExactType(PojoRawTypeIdentifier<E> typeIdentifier)<E> PojoIndexedTypeManager<?,E>indexedForExactType(PojoRawTypeIdentifier<E> typeIdentifier)KeyValueProvider<String,PojoRawTypeIdentifier<?>>typeIdentifierByEntityName()
-
-
-
Method Detail
-
builder
public static PojoTypeManagerContainer.Builder builder()
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
forExactType
public <E> AbstractPojoTypeManager<?,E> forExactType(PojoRawTypeIdentifier<E> typeIdentifier)
- Specified by:
forExactTypein interfacePojoWorkTypeContextProvider
-
indexedForExactType
public <E> PojoIndexedTypeManager<?,E> indexedForExactType(PojoRawTypeIdentifier<E> typeIdentifier)
- Specified by:
indexedForExactTypein interfacePojoMassIndexingTypeContextProvider- Specified by:
indexedForExactTypein interfacePojoScopeTypeContextProvider- Specified by:
indexedForExactTypein interfacePojoWorkTypeContextProvider
-
allIndexedSuperTypes
public Set<PojoRawTypeIdentifier<?>> allIndexedSuperTypes()
- Specified by:
allIndexedSuperTypesin interfacePojoScopeTypeContextProvider
-
allNonInterfaceSuperTypes
public Set<PojoRawTypeIdentifier<?>> allNonInterfaceSuperTypes()
- Specified by:
allNonInterfaceSuperTypesin interfacePojoScopeTypeContextProvider
-
allNonInterfaceSuperTypesClasses
public Set<Class<?>> allNonInterfaceSuperTypesClasses()
- Specified by:
allNonInterfaceSuperTypesClassesin interfacePojoScopeTypeContextProvider
-
allIndexedAndContainedTypes
public Set<PojoRawTypeIdentifier<?>> allIndexedAndContainedTypes()
- Specified by:
allIndexedAndContainedTypesin interfacePojoScopeTypeContextProvider
-
allIndexedForSuperType
public <E> Optional<? extends Set<? extends PojoScopeIndexedTypeContext<?,? extends E>>> allIndexedForSuperType(PojoRawTypeIdentifier<E> typeIdentifier)
- Specified by:
allIndexedForSuperTypein interfacePojoMassIndexingTypeContextProvider- Specified by:
allIndexedForSuperTypein interfacePojoScopeTypeContextProvider
-
allByNonInterfaceSuperType
public <E> Set<? extends PojoWorkTypeContext<?,? extends E>> allByNonInterfaceSuperType(PojoRawTypeIdentifier<E> typeIdentifier)
- Specified by:
allByNonInterfaceSuperTypein interfacePojoScopeTypeContextProvider
-
byEntityName
public KeyValueProvider<String,? extends PojoWorkTypeContext<?,?>> byEntityName()
- Specified by:
byEntityNamein interfacePojoWorkTypeContextProvider
-
typeIdentifierByEntityName
public KeyValueProvider<String,PojoRawTypeIdentifier<?>> typeIdentifierByEntityName()
- Specified by:
typeIdentifierByEntityNamein interfacePojoWorkTypeContextProvider
-
-