Package org.hibernate.query.hql
Interface HqlTranslator
-
- All Known Implementing Classes:
StandardHqlTranslator
@Incubating public interface HqlTranslator
Main entry point into building semantic queries.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <R> SqmStatement<R>
translate(String hql, Class<R> expectedResultType)
Performs the interpretation of a HQL/JPQL query string to SQM.
-
-
-
Method Detail
-
translate
<R> SqmStatement<R> translate(String hql, Class<R> expectedResultType)
Performs the interpretation of a HQL/JPQL query string to SQM.- Parameters:
hql
- The HQL/JPQL query string to interpretexpectedResultType
- The type specified when creating the query- Returns:
- The semantic representation of the incoming query.
-
-