@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)
SelectionVisitor
PersistentEntityRoot
.visit
in interface SelectionVisitor
entityRoot
- The entityRootpublic void visit(PersistentPropertyPath<?> persistentPropertyPath)
SelectionVisitor
PersistentPropertyPath
.visit
in interface SelectionVisitor
persistentPropertyPath
- The persistentPropertyPathpublic void visit(jakarta.persistence.criteria.Predicate predicate)
SelectionVisitor
Predicate
.visit
in interface SelectionVisitor
predicate
- The predicatepublic void visit(AliasedSelection<?> aliasedSelection)
SelectionVisitor
AliasedSelection
.visit
in interface SelectionVisitor
aliasedSelection
- The aliasedSelectionpublic void visit(CompoundSelection<?> compoundSelection)
SelectionVisitor
CompoundSelection
.visit
in interface SelectionVisitor
compoundSelection
- The compoundSelectionpublic void visit(LiteralExpression<?> literalExpression)
SelectionVisitor
LiteralExpression
.visit
in interface SelectionVisitor
literalExpression
- The literalExpressionpublic void visit(IdExpression<?,?> idExpression)
SelectionVisitor
IdExpression
.visit
in interface SelectionVisitor
idExpression
- The idExpressionpublic void visit(AggregateExpression<?,?> aggregateExpression)
SelectionVisitor
AggregateExpression
.visit
in interface SelectionVisitor
aggregateExpression
- The aggregateExpressionpublic void visit(ConjunctionPredicate conjunction)
PredicateVisitor
ConjunctionPredicate
.visit
in interface PredicateVisitor
conjunction
- The conjunctionpublic void visit(DisjunctionPredicate disjunction)
PredicateVisitor
DisjunctionPredicate
.visit
in interface PredicateVisitor
disjunction
- The disjunctionpublic void visit(NegatedPredicate negate)
PredicateVisitor
NegatedPredicate
.visit
in interface PredicateVisitor
negate
- The negatepublic void visit(PersistentPropertyInPredicate<?> propertyIn)
PredicateVisitor
visit
in interface PredicateVisitor
propertyIn
- The propertyInpublic void visit(PersistentPropertyUnaryPredicate<?> propertyOp)
PredicateVisitor
visit
in interface PredicateVisitor
propertyOp
- The propertyOppublic void visit(PersistentPropertyBetweenPredicate<?> propertyBetweenPredicate)
PredicateVisitor
visit
in interface PredicateVisitor
propertyBetweenPredicate
- The propertyBetweenPredicatepublic void visit(PersistentPropertyBinaryPredicate<?> propertyToExpressionOp)
PredicateVisitor
visit
in interface PredicateVisitor
propertyToExpressionOp
- The propertyToExpressionOppublic void visit(PersistentPropertyInValuesPredicate<?> inValues)
PredicateVisitor
visit
in interface PredicateVisitor
inValues
- The inValuespublic void visit(ExpressionBinaryPredicate expressionBinaryPredicate)
PredicateVisitor
ExpressionBinaryPredicate
.visit
in interface PredicateVisitor
expressionBinaryPredicate
- The expressionBinaryPredicate