T0 - the first entity typeT1 - the second entity typeT2 - the third entity typeT3 - the fourth entity typeT4 - the fifth entity typeT5 - the sixth entity typepublic interface JoinBuilder6<T0,T1,T2,T3,T4,T5> extends HasJoins<JoinBuilder6.AfterJoin<T0,T1,T2,T3,T4,T5,?>,JoinBuilder7<T0,T1,T2,T3,T4,T5,?>>, HasWhere<T5,JoinBuilder6<T0,T1,T2,T3,T4,T5>>, HasDefaultBuild<com.speedment.common.tuple.nullable.Tuple6OfNullables<T0,T1,T2,T3,T4,T5>>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
JoinBuilder6.AfterJoin<T0,T1,T2,T3,T4,T5,T6> |
| Modifier and Type | Method and Description |
|---|---|
default Join<com.speedment.common.tuple.nullable.Tuple6OfNullables<T0,T1,T2,T3,T4,T5>> |
build()
Creates and returns a new Join object where elements in the Join object's
stream method is of a default
Tuple type. |
<T> Join<T> |
build(com.speedment.common.function.Function6<T0,T1,T2,T3,T4,T5,T> constructor)
Creates and returns a new Join object where elements in the Join
object's stream method is created using the provided
constructor. |
<T6> JoinBuilder7<T0,T1,T2,T3,T4,T5,T6> |
crossJoin(com.speedment.runtime.config.identifier.TableIdentifier<T6> joinedTable)
Adds the provided
joinedTable to the collection of joined tables. |
<T6> JoinBuilder6.AfterJoin<T0,T1,T2,T3,T4,T5,T6> |
innerJoinOn(com.speedment.runtime.field.trait.HasComparableOperators<T6,?> joinedField)
Adds the provided
joinedField to the collection of joined
column/tables. |
<T6> JoinBuilder6.AfterJoin<T0,T1,T2,T3,T4,T5,T6> |
leftJoinOn(com.speedment.runtime.field.trait.HasComparableOperators<T6,?> joinedField)
Adds the provided
joinedField to the collection of joined
column/tables. |
<T6> JoinBuilder6.AfterJoin<T0,T1,T2,T3,T4,T5,T6> |
rightJoinOn(com.speedment.runtime.field.trait.HasComparableOperators<T6,?> joinedField)
Adds the provided
joinedField to the collection of joined
column/tables. |
<T6> JoinBuilder6.AfterJoin<T0,T1,T2,T3,T4,T5,T6> innerJoinOn(com.speedment.runtime.field.trait.HasComparableOperators<T6,?> joinedField)
HasJoinsjoinedField to the collection of joined
column/tables. Elements are joined from the table of the provided
joinedField using an INNER JOIN whereby rows from two
tables are present only if there is a match between the joining columns.
Thus, rows that do not have matches in the joining columns will not be
present in the result.<T6> JoinBuilder6.AfterJoin<T0,T1,T2,T3,T4,T5,T6> leftJoinOn(com.speedment.runtime.field.trait.HasComparableOperators<T6,?> joinedField)
HasJoinsjoinedField to the collection of joined
column/tables. Elements are joined from the table of the provided
joinedField using an LEFT JOIN whereby rows from two
tables are present either if there is a match between the joining columns
or for each row from previously existing table(s).
Unmatched rows will have entities from the table in the given
joinedField set to null
<T6> JoinBuilder6.AfterJoin<T0,T1,T2,T3,T4,T5,T6> rightJoinOn(com.speedment.runtime.field.trait.HasComparableOperators<T6,?> joinedField)
HasJoinsjoinedField to the collection of joined
column/tables. Elements are joined from the table of the provided
joinedField using an RIGHT JOIN whereby rows from two
tables are present either if there is a match between the joining columns
or for each row from the table for the provided joinedField.
Unmatched rows will have entities from the table in the given
joinedField set to null
<T6> JoinBuilder7<T0,T1,T2,T3,T4,T5,T6> crossJoin(com.speedment.runtime.config.identifier.TableIdentifier<T6> joinedTable)
HasJoinsjoinedTable to the collection of joined tables.
Elements are joined from the table of the provided joinedTable
using an CROSS JOIN whereby all combination of rows using all
tables(s) are produced.default Join<com.speedment.common.tuple.nullable.Tuple6OfNullables<T0,T1,T2,T3,T4,T5>> build()
HasDefaultBuildTuple type.<T> Join<T> build(com.speedment.common.function.Function6<T0,T1,T2,T3,T4,T5,T> constructor)
constructor.T - the type of element in the Join object's stream
method.constructor - to use to create stream elements.Tuple typeNullPointerException - if the provided constructor is
nullIllegalStateException - if fields that are added via the on() method refers to tables that are
not a part of the join.Copyright © 2019 Speedment, Inc.. All rights reserved.