Class JoinStack

  • public class JoinStack
    extends Object
    Encapsulates join reuse/split logic used in SelectQuery processing. All expression path's that exist in the query (in the qualifier, etc.) are processed to produce a combined join tree.
    • Method Detail

      • size

        protected int size()
        Returns the number of configured joins.
      • appendJoins

        protected void appendJoins​(StringBuilder out)
        Appends all configured joins to the provided output object.
      • appendQualifier

        protected void appendQualifier​(StringBuilder out,
                                       boolean firstQualifierElement)
        Append join information to the qualifier - the part after "WHERE".
      • newAlias

        protected String newAlias()