-
- All Known Subinterfaces:
JoinStreamSupplierComponent
- All Known Implementing Classes:
DelegateSqlJoinStreamSupplierComponent
public interface HasCreateJoin2- Author:
- Per Minborg
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T0,T1,T>
Join<T>createJoin(List<Stage<?>> stages, BiFunction<T0,T1,T> constructor, com.speedment.runtime.config.identifier.TableIdentifier<T0> t0, com.speedment.runtime.config.identifier.TableIdentifier<T1> t1)Creates and returns a new Join object using the providedpipelinewhereby elements in the returned Join'sJoin.stream()method will be constructed using the providedconstructor.
-
-
-
Method Detail
-
createJoin
<T0,T1,T> Join<T> createJoin(List<Stage<?>> stages, BiFunction<T0,T1,T> constructor, com.speedment.runtime.config.identifier.TableIdentifier<T0> t0, com.speedment.runtime.config.identifier.TableIdentifier<T1> t1)
Creates and returns a new Join object using the providedpipelinewhereby elements in the returned Join'sJoin.stream()method will be constructed using the providedconstructor.- Type Parameters:
T0- entity type of the first tableT1- entity type of the second tableT- stream type in returned Join object's stream method- Parameters:
stages- pipeline with information on the joined tablesconstructor- to be applied by the returned Join objects stream methodt0- identifier of the first tablet1- identifier of the second table- Returns:
- a new Join object
- Throws:
NullPointerException- if any of the provided arguments arenull
-
-