Class JpqlAccessSupport.EntityOccurrence

java.lang.Object
io.jmix.aitools.dataload.execution.JpqlAccessSupport.EntityOccurrence
Enclosing class:
JpqlAccessSupport

protected static class JpqlAccessSupport.EntityOccurrence extends Object
Where one entity occurs in a query.
  • Field Details

    • outerTargets

      protected final Map<String,@Nullable String> outerTargets
      The entity's aliases and the path prefixes reaching it in the outer query, each mapped to its null check or null. Their conditions go to the outer where.
    • leftJoinTargets

      protected final Set<String> leftJoinTargets
      Variables declared for the entity by a left join of the outer query. Their conditions go to the join's own on, so that a hidden record is joined as an absent one.
    • referenceTargets

      protected final Map<String,JpqlAccessSupport.ReferenceTarget> referenceTargets
      Outer references the query reads by themselves or through their primary key (d.parent for d.parent is null or d.parent.id). Each is rewritten into a left join of its own.
    • inner

      protected boolean inner
      Whether 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()