Package org.hibernate.hql.ast

An ANTLR-based parser for Hibernate Query Language.

See:
          Description

Interface Summary
ASTUtil.FilterPredicate Filters nodes out of a tree.
DisplayableNode Implementors will return additional display text, which will be used by the ASTPrinter to display information (besides the node type and node text).
ErrorReporter Implementations will report or handle errors invoked by an ANTLR base parser.
ParseErrorHandler Defines the behavior of an error handler for the HQL parsers.
PathNode An AST node with a path property.
ResolvableNode The contract for expression sub-trees that can resolve themselves.
SelectExpression Represents an element of a projection list, i.e.
 

Class Summary
ArithmeticNode  
ASTAppender Appends child nodes to a parent efficiently.
ASTIterator Depth first iteration of an ANTLR AST.
ASTParentsFirstIterator Depth first iteration of an ANTLR AST.
ASTPrinter An 'ASCII art' AST printer for debugging ANTLR grammars.
ASTQueryTranslatorFactory  
ASTUtil Provides utility methods for AST traversal and manipulation.
ASTUtil.IncludePredicate A predicate that uses inclusion, rather than exclusion semantics.
CollectionFunction Represents 'elements()' or 'indices()'.
ConstructorNode Represents a constructor (new) in a SELECT.
ErrorCounter An error handler that counts parsing errors and warnings.
FromElement Represents a single mapped class mentioned in an HQL FROM clause.
HqlParser Implements the semantic action methods defined in the HQL base parser to keep the grammar source file a little cleaner.
HqlSqlWalker Implements methods used by the HQL->SQL tree transform grammar (a.k.a.
HqlToken A custom token class for the HQL grammar.
IdentNode Represents an identifier all by itself, which may be a function name, a class alias, or a form of naked property-ref depending on the context.
ImpliedFromElement Represents a FROM element implied by a path expression or a collection reference.
IndexNode Represents the [] operator and provides it's semantics.
LiteralNode Represents a literal.
OrderByClause Implementation of OrderByClause.
QueryNode Defines a top-level AST node representing the notion of a query.
QueryTranslatorImpl A QueryTranslator that uses an AST based parser.
SelectClause Represents the list of expressions in a SELECT clause.
SqlASTFactory Custom AST factory the intermediate tree that causes ANTLR to create specialized AST nodes, given the AST node type (from HqlSqlTokenTypes).
SyntheticAndFactory Creates synthetic and nodes based on the where fragment part of a JoinSequence.
UnaryNode  
UpdateStatementExecutor Performs exeuction of update/delete statements issued through HQL.
 

Exception Summary
DetailedSemanticException Thrown when a call to the underlying Hibernate engine fails, indicating some form of semantic exception (e.g.
InvalidPathException Exception thrown when an invalid path is found in a query.
QuerySyntaxError Exception thrown when there is a syntax error in the HQL.
 

Package org.hibernate.hql.ast Description

An ANTLR-based parser for Hibernate Query Language.

Classes in this package extend the ANTLR-generated parser classes.