org.hibernate.search.query.hibernate.impl
Interface Loader

All Known Implementing Classes:
AbstractLoader, MultiClassesQueryLoader, ProjectionLoader, QueryLoader

public interface Loader

Interface defining a set of operations in order to load entities which matched a query. Depending on the type of indexed entities and the type of query different strategies can be used.

Author:
Emmanuel Bernard

Method Summary
 void init(Session session, SearchFactoryImplementor searchFactoryImplementor, ObjectsInitializer objectsInitializer, TimeoutManager timeoutManager)
           
 boolean isSizeSafe()
           
 List load(EntityInfo... entityInfos)
           
 Object load(EntityInfo entityInfo)
           
 Object loadWithoutTiming(EntityInfo entityInfo)
           
 

Method Detail

init

void init(Session session,
          SearchFactoryImplementor searchFactoryImplementor,
          ObjectsInitializer objectsInitializer,
          TimeoutManager timeoutManager)

load

Object load(EntityInfo entityInfo)

loadWithoutTiming

Object loadWithoutTiming(EntityInfo entityInfo)

load

List load(EntityInfo... entityInfos)

isSizeSafe

boolean isSizeSafe()


Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved