org.hibernate.search.engine
Class ProjectionLoader
java.lang.Object
org.hibernate.search.engine.ProjectionLoader
- All Implemented Interfaces:
- Loader
public class ProjectionLoader
- extends Object
- implements Loader
Implementation of the Loader
interface used for loading entities which are projected via
ProjectionConstants.THIS
.
- Author:
- Emmanuel Bernard, Hardy Ferentschik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectionLoader
public ProjectionLoader()
init
public void init(org.hibernate.Session session,
SearchFactoryImplementor searchFactoryImplementor)
- Specified by:
init
in interface Loader
init
public void init(org.hibernate.Session session,
SearchFactoryImplementor searchFactoryImplementor,
org.hibernate.transform.ResultTransformer transformer,
String[] aliases)
setEntityTypes
public void setEntityTypes(Set<Class<?>> entityTypes)
load
public Object load(EntityInfo entityInfo)
- Specified by:
load
in interface Loader
load
public List load(EntityInfo... entityInfos)
- Specified by:
load
in interface Loader