| org.hibernate.hql.ast |
|
An ANTLR-based parser for Hibernate Query Language.
Classes in this package extend the ANTLR-generated parser classes.
|
| Java Source File Name | Type | Comment |
| ASTQueryTranslatorFactory.java | Class | Generates translators which uses the Antlr-based parser to perform
the translation. |
| DetailedSemanticException.java | Class | Thrown when a call to the underlying Hibernate engine fails, indicating
some form of semantic exception (e.g. |
| ErrorCounter.java | Class | An error handler that counts parsing errors and warnings. |
| ErrorReporter.java | Interface | Implementations will report or handle errors invoked by an ANTLR base parser. |
| HqlASTFactory.java | Class | |
| HqlLexer.java | Class | Custom lexer for the HQL grammar. |
| HqlParser.java | Class | Implements the semantic action methods defined in the HQL base parser to keep the grammar
source file a little cleaner. |
| HqlSqlWalker.java | Class | Implements methods used by the HQL->SQL tree transform grammar (a.k.a. |
| HqlToken.java | Class | A custom token class for the HQL grammar.
NOTE: This class must be public becuase it is instantiated by the ANTLR library. |
| InvalidPathException.java | Class | Exception thrown when an invalid path is found in a query. |
| InvalidWithClauseException.java | Class | |
| ParameterTranslationsImpl.java | Class | Defines the information available for parameters encountered during
query translation through the antlr-based parser. |
| ParseErrorHandler.java | Interface | Defines the behavior of an error handler for the HQL parsers. |
| QuerySyntaxException.java | Class | Exception thrown when there is a syntax error in the HQL. |
| QueryTranslatorImpl.java | Class | A QueryTranslator that uses an Antlr-based parser. |
| SqlASTFactory.java | Class | Custom AST factory the intermediate tree that causes ANTLR to create specialized
AST nodes, given the AST node type (from HqlSqlTokenTypes). |
| SqlGenerator.java | Class | Generates SQL by overriding callback methods in the base class, which does
the actual SQL AST walking. |