Interface HqlTranslator

All Known Implementing Classes:
StandardHqlTranslator

@Incubating public interface HqlTranslator
Main entry point into building semantic queries.
See Also:
  • Method Summary

    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 Details

    • 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 interpret
      expectedResultType - The type specified when creating the query
      Returns:
      The semantic representation of the incoming query.