Interface MatchingIdRestrictionProducer
-
- All Known Implementing Classes:
InPredicateRestrictionProducer
public interface MatchingIdRestrictionProducerStrategy (pattern) for producing the restriction used when mutating a particular table in the group of tables
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Expression>produceIdExpressionList(List<Object> idsAndFks, EntityMappingType entityDescriptor)Produces a list of expression for which a restriction can be produced per-table.PredicateproduceRestriction(List<Expression> idExpressions, EntityMappingType entityDescriptor, int valueIndex, ModelPart valueModelPart, TableReference mutatingTableReference, Supplier<Consumer<SelectableConsumer>> columnsToMatchVisitationSupplier, ExecutionContext executionContext)Produce the restriction predicate
-
-
-
Method Detail
-
produceIdExpressionList
List<Expression> produceIdExpressionList(List<Object> idsAndFks, EntityMappingType entityDescriptor)
Produces a list of expression for which a restriction can be produced per-table.
-
produceRestriction
Predicate produceRestriction(List<Expression> idExpressions, EntityMappingType entityDescriptor, int valueIndex, ModelPart valueModelPart, TableReference mutatingTableReference, Supplier<Consumer<SelectableConsumer>> columnsToMatchVisitationSupplier, ExecutionContext executionContext)
Produce the restriction predicate- Parameters:
idExpressions- The matching id value expressions.mutatingTableReference- The TableReference for the table being mutatedcolumnsToMatchVisitationSupplier- The columns against which to restrict the mutations
-
-