public interface Assembler
Modifier and Type | Interface | Description |
---|---|---|
static interface |
Assembler.AdapterBuilder<ID,R> |
|
static class |
Assembler.AdapterBuilderImpl<T,ID,C extends java.util.Collection<T>,R> |
|
static interface |
Assembler.AssembleWithBuilder<T,ID,C extends java.util.Collection<T>,R> |
|
static class |
Assembler.AssembleWithBuilderImpl<T,ID,C extends java.util.Collection<T>,R> |
|
static interface |
Assembler.FromBuilder<R> |
|
static class |
Assembler.FromBuilderImpl<R> |
Modifier and Type | Method | Description |
---|---|---|
static <T,ID,C extends java.util.Collection<T>,R,RC> |
assemble(io.github.pellse.util.function.checked.CheckedSupplier<C,java.lang.Throwable> topLevelEntitiesProvider,
java.util.function.Function<T,ID> idExtractor,
java.util.List<io.github.pellse.util.query.Mapper<ID,?,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) |
|
static <R> Assembler.FromBuilder<R> |
assemblerOf(java.lang.Class<R> outputClass) |
static <R> Assembler.FromBuilder<R> assemblerOf(java.lang.Class<R> outputClass)
static <T,ID,C extends java.util.Collection<T>,R,RC> RC assemble(io.github.pellse.util.function.checked.CheckedSupplier<C,java.lang.Throwable> topLevelEntitiesProvider, java.util.function.Function<T,ID> idExtractor, java.util.List<io.github.pellse.util.query.Mapper<ID,?,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)