Class JpqlAccessSupport.EntityOccurrence
java.lang.Object
io.jmix.aitools.dataload.execution.JpqlAccessSupport.EntityOccurrence
- Enclosing class:
JpqlAccessSupport
Where one entity occurs in a query.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanWhether the entity also occurs where an outer condition cannot reach it: in a subquery, or as a collection without an alias.Variables declared for the entity by aleft joinof the outer query.The entity's aliases and the path prefixes reaching it in the outer query, each mapped to its null check ornull.protected final Map<String, JpqlAccessSupport.ReferenceTarget> Outer references the query reads by themselves or through their primary key (d.parentford.parent is nullord.parent.id). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected boolean
-
Field Details
-
outerTargets
The entity's aliases and the path prefixes reaching it in the outer query, each mapped to its null check ornull. Their conditions go to the outerwhere. -
leftJoinTargets
Variables declared for the entity by aleft joinof the outer query. Their conditions go to the join's ownon, so that a hidden record is joined as an absent one. -
referenceTargets
Outer references the query reads by themselves or through their primary key (d.parentford.parent is nullord.parent.id). Each is rewritten into a left join of its own. -
inner
protected boolean innerWhether the entity also occurs where an outer condition cannot reach it: in a subquery, or as a collection without an alias.
-
-
Constructor Details
-
EntityOccurrence
protected EntityOccurrence()
-
-
Method Details
-
hasOnTargets
protected boolean hasOnTargets() -
readsForeignKeyOnly
protected boolean readsForeignKeyOnly()
-