Class EJBQLJoinAppender

java.lang.Object
org.apache.cayenne.access.translator.ejbql.EJBQLJoinAppender

public class EJBQLJoinAppender
extends Object
Handles appending joins to the content buffer at a marked position.
Since:
3.0
  • Field Details

  • Constructor Details

  • Method Details

    • registerReusableJoin

      public String registerReusableJoin​(String sourceIdPath, String relationship, String targetId)
      Registers a "reusable" join, returning a preexisting ID if the join is already registered. Reusable joins are the implicit inner joins that are added as a result of processing of path expressions in SELECT or WHERE clauses. Note that if an implicit INNER join overlaps with an explicit INNER join, both joins are added to the query.
    • appendInnerJoin

      public void appendInnerJoin​(String marker, org.apache.cayenne.access.translator.ejbql.EJBQLTableId lhsId, org.apache.cayenne.access.translator.ejbql.EJBQLTableId rhsId)
    • appendOuterJoin

      public void appendOuterJoin​(String marker, org.apache.cayenne.access.translator.ejbql.EJBQLTableId lhsId, org.apache.cayenne.access.translator.ejbql.EJBQLTableId rhsId)
    • appendJoin

      protected void appendJoin​(String marker, org.apache.cayenne.access.translator.ejbql.EJBQLTableId lhsId, org.apache.cayenne.access.translator.ejbql.EJBQLTableId rhsId, String semantics)
    • appendTable

      public String appendTable​(org.apache.cayenne.access.translator.ejbql.EJBQLTableId id)