|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryTranslatorFactory
Facade for generation of QueryTranslator
and FilterTranslator
instances.
Method Summary | |
---|---|
FilterTranslator |
createFilterTranslator(String queryIdentifier,
String queryString,
Map filters,
SessionFactoryImplementor factory)
Construct a FilterTranslator instance capable of translating
an HQL filter string. |
QueryTranslator |
createQueryTranslator(String queryIdentifier,
String queryString,
Map filters,
SessionFactoryImplementor factory)
Construct a QueryTranslator instance capable of translating
an HQL query string. |
Method Detail |
---|
QueryTranslator createQueryTranslator(String queryIdentifier, String queryString, Map filters, SessionFactoryImplementor factory)
QueryTranslator
instance capable of translating
an HQL query string.
queryIdentifier
- The query-identifier (used in
QueryStatistics
collection). This is
typically the same as the queryString parameter except for the case of
split polymorphic queries which result in multiple physical sql
queries.queryString
- The query string to be translatedfilters
- Currently enabled filtersfactory
- The session factory.
FilterTranslator createFilterTranslator(String queryIdentifier, String queryString, Map filters, SessionFactoryImplementor factory)
FilterTranslator
instance capable of translating
an HQL filter string.
createQueryTranslator(java.lang.String, java.lang.String, java.util.Map, org.hibernate.engine.SessionFactoryImplementor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |