Interface RuleMapperSource<ID,EID,IDC extends Collection<ID>,R,RRC>
- Type Parameters:
ID
- Correlation Id typeIDC
- Collection of correlation ids type (e.g.List<ID>
,Set<ID>
)R
- Type of the publisher elements returned fromqueryFunction
RRC
- Either R or collection of R (e.g. R vs.List<R>
)
- All Superinterfaces:
Function<RuleMapperContext<ID,
EID, IDC, R, RRC>, Function<IDC, org.reactivestreams.Publisher<R>>>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface RuleMapperSource<ID,EID,IDC extends Collection<ID>,R,RRC>
extends Function<RuleMapperContext<ID,EID,IDC,R,RRC>,Function<IDC,org.reactivestreams.Publisher<R>>>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
RuleMapperSource.Builder<ID,
IDC extends Collection<ID>, R> static interface
RuleMapperSource.RuleMapperBuilder<ID,
IDC extends Collection<ID>, R> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RuleMapperSource<?,
?, ? extends Collection<Object>, ?, ?> -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <ID,
EID, IDC extends Collection<ID>, R, RRC>
RuleMapperSource<ID,EID, IDC, R, RRC> static <ID,
EID, IDC extends Collection<ID>, R, RRC>
RuleMapperSource<ID,EID, IDC, R, RRC> static <ID,
IDC extends Collection<ID>, R>
RuleMapperSource.RuleMapperBuilder<ID,IDC, R> from
(RuleMapperSource<ID, ?, IDC, R, ?> source) static <ID,
IDC extends Collection<ID>, R>
RuleMapperSource.RuleMapperBuilder<ID,IDC, R> static <ID,
EID, IDC extends Collection<ID>, R, RRC>
booleanisEmptySource
(RuleMapperSource<ID, EID, IDC, R, RRC> ruleMapperSource) static <ID,
EID, IDC extends Collection<ID>, R, RRC>
RuleMapperSource<ID,EID, IDC, R, RRC> nullToEmptySource
(RuleMapperSource<ID, EID, IDC, R, RRC> ruleMapperSource) static <ID,
EID, IDC extends Collection<ID>, R, RRC>
RuleMapperSource<ID,EID, IDC, R, RRC> pipe
(RuleMapperSource<ID, EID, IDC, R, RRC> mapper, Function<? super RuleMapperSource<ID, EID, IDC, R, RRC>, ? extends RuleMapperSource<ID, EID, IDC, R, RRC>>... mappingFunctions)
-
Field Details
-
EMPTY_SOURCE
-
-
Method Details
-
from
static <ID,IDC extends Collection<ID>, RuleMapperSource.RuleMapperBuilder<ID,R> IDC, fromR> (Function<IDC, org.reactivestreams.Publisher<R>> queryFunction) -
from
static <ID,IDC extends Collection<ID>, RuleMapperSource.RuleMapperBuilder<ID,R> IDC, fromR> (RuleMapperSource<ID, ?, IDC, R, ?> source) -
call
static <ID,EID, RuleMapperSource<ID,IDC extends Collection<ID>, R, RRC> EID, callIDC, R, RRC> (Function<IDC, org.reactivestreams.Publisher<R>> queryFunction) -
emptySource
static <ID,EID, RuleMapperSource<ID,IDC extends Collection<ID>, R, RRC> EID, emptySource()IDC, R, RRC> -
isEmptySource
static <ID,EID, boolean isEmptySourceIDC extends Collection<ID>, R, RRC> (RuleMapperSource<ID, EID, IDC, R, RRC> ruleMapperSource) -
nullToEmptySource
static <ID,EID, RuleMapperSource<ID,IDC extends Collection<ID>, R, RRC> EID, nullToEmptySourceIDC, R, RRC> (RuleMapperSource<ID, EID, IDC, R, RRC> ruleMapperSource) -
pipe
@SafeVarargs static <ID,EID, RuleMapperSource<ID,IDC extends Collection<ID>, R, RRC> EID, pipeIDC, R, RRC> (RuleMapperSource<ID, EID, IDC, R, RRC> mapper, Function<? super RuleMapperSource<ID, EID, IDC, R, RRC>, ? extends RuleMapperSource<ID, EID, IDC, R, RRC>>... mappingFunctions)
-