org.hibernate.search.query.hibernate.impl
Class AbstractLoader

java.lang.Object
  extended by org.hibernate.search.query.hibernate.impl.AbstractLoader
All Implemented Interfaces:
Loader
Direct Known Subclasses:
MultiClassesQueryLoader, QueryLoader

public abstract class AbstractLoader
extends Object
implements Loader

Abstract loader which will take care of taking object loading timings.

Author:
Hardy Ferentschik

Constructor Summary
AbstractLoader()
           
 
Method Summary
abstract  List executeLoad(EntityInfo... entityInfo)
           
abstract  Object executeLoad(EntityInfo entityInfo)
           
 void init(Session session, SearchFactoryImplementor searchFactoryImplementor)
           
 List load(EntityInfo... entityInfos)
           
 Object load(EntityInfo entityInfo)
           
 Object loadWithoutTiming(EntityInfo entityInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.hibernate.search.query.hibernate.impl.Loader
init, isSizeSafe
 

Constructor Detail

AbstractLoader

public AbstractLoader()
Method Detail

init

public void init(Session session,
                 SearchFactoryImplementor searchFactoryImplementor)

load

public final Object load(EntityInfo entityInfo)
Specified by:
load in interface Loader

loadWithoutTiming

public Object loadWithoutTiming(EntityInfo entityInfo)
Specified by:
loadWithoutTiming in interface Loader

executeLoad

public abstract Object executeLoad(EntityInfo entityInfo)

load

public List load(EntityInfo... entityInfos)
Specified by:
load in interface Loader

executeLoad

public abstract List executeLoad(EntityInfo... entityInfo)


Copyright © 2006-2013 Red Hat, Inc. All Rights Reserved