@Internal public class Joiner extends java.lang.Object implements SelectionVisitor, PredicateVisitor
| Modifier and Type | Class and Description |
|---|---|
static class |
Joiner.Joined
The data structure representing a join.
|
| Constructor and Description |
|---|
Joiner() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,Joiner.Joined> |
getJoins()
Returns required query joins.
|
void |
joinIfNeeded(PersistentPropertyPath<?> persistentPropertyPath)
Join property relationships if needed.
|
void |
visit(AggregateExpression<?,?> aggregateExpression)
Visit
AggregateExpression. |
void |
visit(AliasedSelection<?> aliasedSelection)
Visit
AliasedSelection. |
void |
visit(CompoundSelection<?> compoundSelection)
Visit
CompoundSelection. |
void |
visit(ConjunctionPredicate conjunction)
Visit
ConjunctionPredicate. |
void |
visit(DisjunctionPredicate disjunction)
Visit
DisjunctionPredicate. |
void |
visit(ExpressionBinaryPredicate expressionBinaryPredicate)
Visit
ExpressionBinaryPredicate. |
void |
visit(IdExpression<?,?> idExpression)
Visit
IdExpression. |
void |
visit(LiteralExpression<?> literalExpression)
Visit
LiteralExpression. |
void |
visit(NegatedPredicate negate)
Visit
NegatedPredicate. |
void |
visit(PersistentEntityRoot<?> entityRoot)
Visit
PersistentEntityRoot. |
void |
visit(PersistentPropertyBetweenPredicate<?> propertyBetweenPredicate)
|
void |
visit(PersistentPropertyBinaryPredicate<?> propertyToExpressionOp)
|
void |
visit(PersistentPropertyInPredicate<?> propertyIn)
|
void |
visit(PersistentPropertyInValuesPredicate<?> inValues)
|
void |
visit(PersistentPropertyPath<?> persistentPropertyPath)
Visit
PersistentPropertyPath. |
void |
visit(PersistentPropertyUnaryPredicate<?> propertyOp)
|
void |
visit(jakarta.persistence.criteria.Predicate predicate)
Visit
Predicate. |
public java.util.Map<java.lang.String,Joiner.Joined> getJoins()
public void joinIfNeeded(PersistentPropertyPath<?> persistentPropertyPath)
persistentPropertyPath - The propertypublic void visit(PersistentEntityRoot<?> entityRoot)
SelectionVisitorPersistentEntityRoot.visit in interface SelectionVisitorentityRoot - The entityRootpublic void visit(PersistentPropertyPath<?> persistentPropertyPath)
SelectionVisitorPersistentPropertyPath.visit in interface SelectionVisitorpersistentPropertyPath - The persistentPropertyPathpublic void visit(jakarta.persistence.criteria.Predicate predicate)
SelectionVisitorPredicate.visit in interface SelectionVisitorpredicate - The predicatepublic void visit(AliasedSelection<?> aliasedSelection)
SelectionVisitorAliasedSelection.visit in interface SelectionVisitoraliasedSelection - The aliasedSelectionpublic void visit(CompoundSelection<?> compoundSelection)
SelectionVisitorCompoundSelection.visit in interface SelectionVisitorcompoundSelection - The compoundSelectionpublic void visit(LiteralExpression<?> literalExpression)
SelectionVisitorLiteralExpression.visit in interface SelectionVisitorliteralExpression - The literalExpressionpublic void visit(IdExpression<?,?> idExpression)
SelectionVisitorIdExpression.visit in interface SelectionVisitoridExpression - The idExpressionpublic void visit(AggregateExpression<?,?> aggregateExpression)
SelectionVisitorAggregateExpression.visit in interface SelectionVisitoraggregateExpression - The aggregateExpressionpublic void visit(ConjunctionPredicate conjunction)
PredicateVisitorConjunctionPredicate.visit in interface PredicateVisitorconjunction - The conjunctionpublic void visit(DisjunctionPredicate disjunction)
PredicateVisitorDisjunctionPredicate.visit in interface PredicateVisitordisjunction - The disjunctionpublic void visit(NegatedPredicate negate)
PredicateVisitorNegatedPredicate.visit in interface PredicateVisitornegate - The negatepublic void visit(PersistentPropertyInPredicate<?> propertyIn)
PredicateVisitorvisit in interface PredicateVisitorpropertyIn - The propertyInpublic void visit(PersistentPropertyUnaryPredicate<?> propertyOp)
PredicateVisitorvisit in interface PredicateVisitorpropertyOp - The propertyOppublic void visit(PersistentPropertyBetweenPredicate<?> propertyBetweenPredicate)
PredicateVisitorvisit in interface PredicateVisitorpropertyBetweenPredicate - The propertyBetweenPredicatepublic void visit(PersistentPropertyBinaryPredicate<?> propertyToExpressionOp)
PredicateVisitorvisit in interface PredicateVisitorpropertyToExpressionOp - The propertyToExpressionOppublic void visit(PersistentPropertyInValuesPredicate<?> inValues)
PredicateVisitorvisit in interface PredicateVisitorinValues - The inValuespublic void visit(ExpressionBinaryPredicate expressionBinaryPredicate)
PredicateVisitorExpressionBinaryPredicate.visit in interface PredicateVisitorexpressionBinaryPredicate - The expressionBinaryPredicate