org.hibernate.search.query.hibernate.impl
Class ProjectionLoader
java.lang.Object
org.hibernate.search.query.hibernate.impl.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,
ObjectsInitializer objectsInitializer,
TimeoutManager timeoutManager)
- Specified by:
init in interface Loader
init
public void init(org.hibernate.Session session,
SearchFactoryImplementor searchFactoryImplementor,
org.hibernate.transform.ResultTransformer transformer,
ObjectLoaderBuilder loaderBuilder,
String[] aliases,
TimeoutManager timeoutManager)
load
public Object load(EntityInfo entityInfo)
- Specified by:
load in interface Loader
loadWithoutTiming
public Object loadWithoutTiming(EntityInfo entityInfo)
- Specified by:
loadWithoutTiming in interface Loader
load
public List load(EntityInfo... entityInfos)
- Specified by:
load in interface Loader
isSizeSafe
public boolean isSizeSafe()
- Specified by:
isSizeSafe in interface Loader
Copyright © 2006–2013 Hibernate. All rights reserved.