AssemblerBuilder.AssemblerImpl
public interface Assembler<T,RC>
Modifier and Type | Method | Description |
---|---|---|
<C extends java.util.Collection<T>> |
assemble(C topLevelEntities) |
|
static <T,ID,C extends java.util.Collection<T>,R,RC> |
assemble(C topLevelEntities,
java.util.function.Function<T,ID> idExtractor,
java.util.List<io.github.pellse.util.query.Mapper<ID,?,? extends java.lang.Throwable>> mappers,
java.util.function.BiFunction<T,? super java.lang.Object[],R> domainObjectBuilder,
AssemblerAdapter<ID,R,RC> assemblerAdapter,
java.util.function.Function<java.lang.Throwable,java.lang.RuntimeException> errorConverter) |
|
default <C extends java.util.Collection<T>> |
assembleFromSupplier(io.github.pellse.util.function.checked.CheckedSupplier<C,java.lang.Throwable> topLevelEntitiesProvider) |
default <C extends java.util.Collection<T>> RC assembleFromSupplier(io.github.pellse.util.function.checked.CheckedSupplier<C,java.lang.Throwable> topLevelEntitiesProvider)
static <T,ID,C extends java.util.Collection<T>,R,RC> RC assemble(C topLevelEntities, java.util.function.Function<T,ID> idExtractor, java.util.List<io.github.pellse.util.query.Mapper<ID,?,? extends java.lang.Throwable>> mappers, java.util.function.BiFunction<T,? super java.lang.Object[],R> domainObjectBuilder, AssemblerAdapter<ID,R,RC> assemblerAdapter, java.util.function.Function<java.lang.Throwable,java.lang.RuntimeException> errorConverter)