Class EJBQLJoinAppender
java.lang.Object
org.apache.cayenne.access.translator.ejbql.EJBQLJoinAppender
Handles appending joins to the content buffer at a marked position.
- Since:
- 3.0
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendInnerJoin
(String marker, org.apache.cayenne.access.translator.ejbql.EJBQLTableId lhsId, org.apache.cayenne.access.translator.ejbql.EJBQLTableId rhsId) protected void
appendJoin
(String marker, org.apache.cayenne.access.translator.ejbql.EJBQLTableId lhsId, org.apache.cayenne.access.translator.ejbql.EJBQLTableId rhsId, String semantics) void
appendOuterJoin
(String marker, org.apache.cayenne.access.translator.ejbql.EJBQLTableId lhsId, org.apache.cayenne.access.translator.ejbql.EJBQLTableId rhsId) appendTable
(org.apache.cayenne.access.translator.ejbql.EJBQLTableId id) registerReusableJoin
(String sourceIdPath, String relationship, String targetId) Registers a "reusable" join, returning a preexisting ID if the join is already registered.
-
Field Details
-
context
-
-
Constructor Details
-
EJBQLJoinAppender
-
-
Method Details
-
registerReusableJoin
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
-
appendTable
-