org.hibernate.search.engine
Class ProjectionLoader
java.lang.Object
org.hibernate.search.engine.ProjectionLoader
- All Implemented Interfaces:
- Loader
public class ProjectionLoader
- extends java.lang.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,
java.lang.String[] aliases)
setEntityTypes
public void setEntityTypes(java.util.Set<java.lang.Class<?>> entityTypes)
load
public java.lang.Object load(EntityInfo entityInfo)
- Specified by:
load
in interface Loader
load
public java.util.List load(EntityInfo... entityInfos)
- Specified by:
load
in interface Loader
Copyright © 2006-2010 Hibernate. All Rights Reserved.