Package io.github.pellse.assembler
Interface Rule<T,K,RRC>
- All Superinterfaces:
Function<Function<T,
K>, Function<Iterable<T>, reactor.core.publisher.Mono<Map<K, RRC>>>>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <T,
K, ID, R, RRC>
Rule<T, K, RRC> rule
(Function<R, ID> innerIdResolver, Function<T, ID> outerIdResolver, RuleMapper<T, List<T>, K, ID, R, RRC> mapper) static <T,
TC extends Collection<T>, K, ID, R, RRC>
Rule<T, K, RRC> rule
(Function<R, ID> innerIdResolver, Function<T, ID> outerIdResolver, Supplier<TC> topLevelCollectionFactory, MapFactory<ID, RRC> mapFactory, RuleMapper<T, TC, K, ID, R, RRC> mapper) static <T,
TC extends Collection<T>, K, ID, R, RRC>
Rule<T, K, RRC> rule
(Function<R, ID> innerIdResolver, Function<T, ID> outerIdResolver, Supplier<TC> topLevelCollectionFactory, RuleMapper<T, TC, K, ID, R, RRC> mapper) static <T,
K, R, RRC>
Rule<T, K, RRC> rule
(Function<R, K> correlationIdResolver, RuleMapper<T, List<T>, K, K, R, RRC> mapper) static <T,
TC extends Collection<T>, K, R, RRC>
Rule<T, K, RRC> rule
(Function<R, K> correlationIdResolver, Supplier<TC> topLevelCollectionFactory, MapFactory<K, RRC> mapFactory, RuleMapper<T, TC, K, K, R, RRC> mapper) static <T,
TC extends Collection<T>, K, R, RRC>
Rule<T, K, RRC> rule
(Function<R, K> correlationIdResolver, Supplier<TC> topLevelCollectionFactory, RuleMapper<T, TC, K, K, R, RRC> mapper) static <T,
TC extends Collection<T>, K, ID, R, RRC>
Rule<T, K, RRC> ruleBuilder
(Function<Function<T, K>, RuleContext<T, TC, K, ID, R, RRC>> ruleContextBuilder, RuleMapper<T, TC, K, ID, R, RRC> mapper)
-
Method Details
-
rule
static <T,K, Rule<T,R, RRC> K, ruleRRC> (Function<R, K> correlationIdResolver, RuleMapper<T, List<T>, K, K, R, RRC> mapper) -
rule
static <T,TC extends Collection<T>, Rule<T,K, R, RRC> K, ruleRRC> (Function<R, K> correlationIdResolver, Supplier<TC> topLevelCollectionFactory, RuleMapper<T, TC, K, K, R, RRC> mapper) -
rule
static <T,TC extends Collection<T>, Rule<T,K, R, RRC> K, ruleRRC> (Function<R, K> correlationIdResolver, Supplier<TC> topLevelCollectionFactory, MapFactory<K, RRC> mapFactory, RuleMapper<T, TC, K, K, R, RRC> mapper) -
rule
static <T,K, Rule<T,ID, R, RRC> K, ruleRRC> (Function<R, ID> innerIdResolver, Function<T, ID> outerIdResolver, RuleMapper<T, List<T>, K, ID, R, RRC> mapper) -
rule
static <T,TC extends Collection<T>, Rule<T,K, ID, R, RRC> K, ruleRRC> (Function<R, ID> innerIdResolver, Function<T, ID> outerIdResolver, Supplier<TC> topLevelCollectionFactory, RuleMapper<T, TC, K, ID, R, RRC> mapper) -
rule
static <T,TC extends Collection<T>, Rule<T,K, ID, R, RRC> K, ruleRRC> (Function<R, ID> innerIdResolver, Function<T, ID> outerIdResolver, Supplier<TC> topLevelCollectionFactory, MapFactory<ID, RRC> mapFactory, RuleMapper<T, TC, K, ID, R, RRC> mapper) -
ruleBuilder
static <T,TC extends Collection<T>, Rule<T,K, ID, R, RRC> K, ruleBuilderRRC> (Function<Function<T, K>, RuleContext<T, TC, K, ID, R, RRC>> ruleContextBuilder, RuleMapper<T, TC, K, ID, R, RRC> mapper)
-