createJoin
<T0,T1,T2,T3,T4,T> Join<T> createJoin(List<Stage<?>> stages,
Function5<T0,T1,T2,T3,T4,T> constructor,
com.speedment.runtime.config.identifier.TableIdentifier<T0> t0,
com.speedment.runtime.config.identifier.TableIdentifier<T1> t1,
com.speedment.runtime.config.identifier.TableIdentifier<T2> t2,
com.speedment.runtime.config.identifier.TableIdentifier<T3> t3,
com.speedment.runtime.config.identifier.TableIdentifier<T4> t4)
Creates and returns a new Join object using the provided
pipeline
whereby elements in the returned Join's
Join.stream() method
will be constructed using the provided
constructor.
- Type Parameters:
T0 - entity type of the first table
T1 - entity type of the second table
T2 - entity type of the third table
T3 - entity type of the fourth table
T4 - entity type of the fifth table
T - stream type in returned Join object's stream method
- Parameters:
stages - pipeline with information on the joined tables
constructor - to be applied by the returned Join objects stream
method
t0 - identifier of the first table
t1 - identifier of the second table
t2 - identifier of the third table
t3 - identifier of the fourth table
t4 - identifier of the fifths table
- Returns:
- a new Join object
- Throws:
NullPointerException - if any of the provided arguments are
null