Interface MatchingIdRestrictionProducer

  • All Known Implementing Classes:
    InPredicateRestrictionProducer

    public interface MatchingIdRestrictionProducer
    Strategy (pattern) for producing the restriction used when mutating a particular table in the group of tables
    • Method Detail

      • produceRestriction

        Predicate produceRestriction​(List<?> matchingIdValues,
                                     EntityMappingType entityDescriptor,
                                     int valueIndex,
                                     ModelPart valueModelPart,
                                     TableReference mutatingTableReference,
                                     Supplier<Consumer<SelectableConsumer>> columnsToMatchVisitationSupplier,
                                     ExecutionContext executionContext)
        Produce the restriction predicate
        Parameters:
        matchingIdValues - The matching id values.
        mutatingTableReference - The TableReference for the table being mutated
        columnsToMatchVisitationSupplier - The columns against which to restrict the mutations