Concerns handled by subpackages include:
org.hibernate.query.Query .
Translation of HQL to SQL involves the following steps:
tokenizer and
parser work
in series to parse the text of the query and produce an AST.
org.hibernate.query.hql.internal.SemanticQueryBuilder
translates the AST into an instance of the SQM (Semantic Query
Model) defined in org.hibernate.query.sqm .
org.hibernate.query.sqm.sql.internal.StandardSqmTranslator
transforms the SQM tree and produces a SQL AST, an instance of
the syntax tree defined by org.hibernate.sql.ast.tree .
org.hibernate.sql.ast.SqlAstTranslator produces an
executable SQL statement.
org.hibernate.query.hql.HqlTranslator , org.hibernate.query.hql.spi.SqmQueryImplementor , org.hibernate.query.sqm.spi.NamedSqmQueryMemento
| Modifier and Type | Interface and Description |
|---|---|
| public interface | FunctionRenderer
Deprecated
as a consequence of Support for FunctionRenderingSupport being deprecated.
SqmFunctionDescriptors that ultimately want
to perform SQL rendering themselves.
|
| public interface | FunctionRenderingSupport
Deprecated
for removal. Use Support for FunctionRenderer instead
SqmFunctionDescriptors that ultimately want
to perform SQL rendering themselves.
|
| public interface | SqmFunctionDescriptor
A factory for SQM nodes representing invocations of a certain named function. |
| Modifier and Type | Class and Description |
|---|---|
| public abstract class | |
| public abstract class | AbstractSqmSelfRenderingFunctionDescriptor
Deprecated
as a consequence of
FunctionRenderer being deprecated.
|
| public class | JdbcEscapeFunctionDescriptor
Acts as a wrapper to another |
| public class | MultipatternSqmFunctionDescriptor
Support for overloaded functions defined in terms of a list of patterns, one for each possible function arity. |
| public class | NamedSqmFunctionDescriptor
Deprecated
as a consequence of Provides a standard implementation that supports the majority of the HQL
functions that are translated to SQL.
AbstractSqmSelfRenderingFunctionDescriptor being deprecated.
|
| public class | PatternBasedSqmFunctionDescriptor
Deprecated
as a consequence of Support for HQL functions that have different representations
in different SQL dialects, where the difference can be handled
via a pattern template.
AbstractSqmSelfRenderingFunctionDescriptor being deprecated.
|
| public class | SelfRenderingAggregateFunctionSqlAstExpression
Representation of an aggregate function call in the SQL AST for impls that know how to render themselves. |
| public class | SelfRenderingFunctionSqlAstExpression
Representation of a function call in the SQL AST for impls that know how to render themselves. |
| public class | SelfRenderingOrderedSetAggregateFunctionSqlAstExpression
Representation of an aggregate function call in the SQL AST for impls that know how to render themselves. |
| public class | |
| public class | |
| public class | |
| public class | |
| public class | SelfRenderingWindowFunctionSqlAstExpression
Representation of a window function call in the SQL AST for impls that know how to render themselves. |
| public class | SqmFunctionRegistry
Defines a registry for |
| Modifier and Type | Enum and Description |
|---|---|
| public enum | FunctionKind
The kind of function e.g. normal, aggregate etc. |