类 JoinProcessor

  • 所有已实现的接口:
    SqlTokenTypes

    public class JoinProcessor
    extends Object
    implements SqlTokenTypes
    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.
    作者:
    Joshua Davis
    • 构造器详细资料

      • JoinProcessor

        public JoinProcessor​(HqlSqlWalker walker)
        Constructs a new JoinProcessor.
        参数:
        walker - The walker to which we are bound, giving us access to needed resources.
    • 方法详细资料

      • toHibernateJoinType

        public static JoinType toHibernateJoinType​(int astJoinType)
        Translates an AST join type (i.e., the token type) into a JoinFragment.XXX join type.
        参数:
        astJoinType - The AST join type (from HqlSqlTokenTypes or SqlTokenTypes)
        返回:
        a JoinFragment.XXX join type.
        另请参阅:
        JoinFragment, SqlTokenTypes
      • processJoins

        public void processJoins​(QueryNode query)