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 Default Methods Modifier and Type Method Description default void
close()
Give the translator a chance to "shut down" if it needs to<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.
-
close
default void close()
Give the translator a chance to "shut down" if it needs to
-
-