public class

JoinProcessor

extends Object
java.lang.Object
   ↳ org.hibernate.hql.ast.util.JoinProcessor

Class Overview

Performs the post-processing of the join information gathered during semantic analysis. The join generating classes are complex, this encapsulates some of the JoinSequence-related code.

Summary

Public Constructors
JoinProcessor(HqlSqlWalker walker)
Constructs a new JoinProcessor.
Public Methods
static void processDynamicFilterParameters(String sqlFragment, ParameterContainer container, HqlSqlWalker walker)
void processJoins(QueryNode query)
static int toHibernateJoinType(int astJoinType)
Translates an AST join type (i.e., the token type) into a JoinFragment.XXX join type.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public JoinProcessor (HqlSqlWalker walker)

Constructs a new JoinProcessor.

Parameters
walker The walker to which we are bound, giving us access to needed resources.

Public Methods

public static void processDynamicFilterParameters (String sqlFragment, ParameterContainer container, HqlSqlWalker walker)

public void processJoins (QueryNode query)

public static int toHibernateJoinType (int astJoinType)

Translates an AST join type (i.e., the token type) into a JoinFragment.XXX join type.

Parameters
astJoinType The AST join type (from HqlSqlTokenTypes or SqlTokenTypes)
Returns
  • a JoinFragment.XXX join type.
See Also