public interface PojoMappingDelegate extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close() |
PojoMappingWorkExecutor |
createMappingWorkExecutor() |
PojoSearchManagerDelegate |
createSearchManagerDelegate(AbstractPojoSessionContextImplementor sessionContext) |
<E> Set<Class<? extends E>> |
getIndexedTypesPolymorphic(Class<E> entityType)
Given a set of target entity, return the set of configured subtypes that are indexed.
|
boolean |
isIndexable(Class<?> type) |
boolean |
isSearchable(Class<?> type) |
boolean |
isWorkable(Class<?> type) |
void close()
close
in interface AutoCloseable
PojoSearchManagerDelegate createSearchManagerDelegate(AbstractPojoSessionContextImplementor sessionContext)
boolean isWorkable(Class<?> type)
type
- A Java type.true
if this type can be the subject of a work (i.e. it can be passed to
PojoWorkPlan.add(Object)
for instance), false
if it cannot.
Workable types include both indexable types and contained entity types.boolean isIndexable(Class<?> type)
type
- A Java type.true
if this type is indexable, false
if it is not.boolean isSearchable(Class<?> type)
type
- A Java type.true
if this type is searchable
(i.e. it can be passed to PojoSearchManagerDelegate.createPojoSearchTarget(Collection)
),
false
if it is not.<E> Set<Class<? extends E>> getIndexedTypesPolymorphic(Class<E> entityType)
entityType
- the target setPojoMappingWorkExecutor createMappingWorkExecutor()
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.