|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HibernateQueryProvider
During indexing time provides the Hibernate Query to extract the data to be indexed per entity.
Can return either return Query or Criteria.
Indexers (HibernateIndexEntitiesIndexer
are encouraged to first check the criteria, and if that returns null
use the query.
| Method Summary | |
|---|---|
Criteria |
createCriteria(Session session,
EntityInformation entityInformation)
Create a Criteria query based on the EntityManager
and the EntityInformation. |
Query |
createQuery(Session session,
EntityInformation entityInformation)
Create a HIbnerate Query based on the Hibernate Session and
the EntityInformation. |
| Method Detail |
|---|
Query createQuery(Session session,
EntityInformation entityInformation)
Session and
the EntityInformation.
session - The Hibernate session to create the query withentityInformation - The enity information to create the query with
Criteria createCriteria(Session session,
EntityInformation entityInformation)
EntityManager
and the EntityInformation.
Criteria queries respect customizations about eager fetching of
collections.
session - The Hibernate session to create the query withentityInformation - The enity information to create the query with
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||