java.lang.Object | |
↳ | org.hibernate.hql.ast.QueryTranslatorImpl |
A QueryTranslator that uses an Antlr-based parser.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
QueryTranslatorImpl.JavaConstantConverter |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.hibernate.hql.QueryTranslator
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new AST-based query translator.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Compile a "normal" query.
| |||||||||||
Compile a filter.
| |||||||||||
Does the translated query contain collection fetches?
| |||||||||||
Perform a bulk update/delete operation given the underlying query definition.
| |||||||||||
Returns the column names in the generated SQL.
| |||||||||||
Returns the filters enabled for this query translator.
| |||||||||||
Return information about any parameters encountered during
translation.
| |||||||||||
Retrieve the query identifier for this translator.
| |||||||||||
Returns the set of query spaces (table names) that the query refers to.
| |||||||||||
Returns the HQL string processed by the translator.
| |||||||||||
Returns an array of HQL aliases
| |||||||||||
Types of the return values of an iterate() style query.
| |||||||||||
The SQL query string to be called; implemented by all subclasses
| |||||||||||
Return the query results as an iterator
| |||||||||||
Perform a list operation given the underlying query definition.
| |||||||||||
Return the query results, as an instance of ScrollableResults
| |||||||||||
Validate the scrollability of the translated query.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.hibernate.hql.FilterTranslator
| |||||||||||
From interface
org.hibernate.hql.QueryTranslator
|
Creates a new AST-based query translator.
queryIdentifier | The query-identifier (used in stats collection) |
---|---|
query | The hql query to translate |
enabledFilters | Currently enabled filters |
factory | The session factory constructing this translator instance. |
Compile a "normal" query. This method may be called multiple times. Subsequent invocations are no-ops.
replacements | Defined query substitutions. |
---|---|
shallow | Does this represent a shallow (scalar or entity-id) select? |
QueryException | There was a problem parsing the query string. |
---|---|
MappingException | There was a problem querying defined mappings. |
Compile a filter. This method may be called multiple times. Subsequent invocations are no-ops.
collectionRole | the role name of the collection used as the basis for the filter. |
---|---|
replacements | Defined query substitutions. |
shallow | Does this represent a shallow (scalar or entity-id) select? |
QueryException | There was a problem parsing the query string. |
---|---|
MappingException | There was a problem querying defined mappings. |
Does the translated query contain collection fetches?
Perform a bulk update/delete operation given the underlying query definition.
queryParameters | The query bind parameters. |
---|---|
session | The session owning this query. |
HibernateException |
---|
Returns the column names in the generated SQL.
Returns the filters enabled for this query translator.
Return information about any parameters encountered during translation.
Retrieve the query identifier for this translator. The query identifier is used in states collection.
Returns the set of query spaces (table names) that the query refers to.
Returns the HQL string processed by the translator.
Types of the return values of an iterate() style query.
The SQL query string to be called; implemented by all subclasses
Return the query results as an iterator
queryParameters | The query bind parameters. |
---|---|
session | The session owning this query. |
HibernateException |
---|
Perform a list operation given the underlying query definition.
session | The session owning this query. |
---|---|
queryParameters | The query bind parameters. |
HibernateException |
---|
Return the query results, as an instance of ScrollableResults
queryParameters | The query bind parameters. |
---|---|
session | The session owning this query. |
HibernateException |
---|
Validate the scrollability of the translated query.
HibernateException |
---|