public interface QueryJoin<Q extends Query>
Modifier and Type | Method and Description |
---|---|
String |
getEntityName() |
List<JoinWrapper> |
getJoins() |
QueryTarget |
getTarget() |
default <E extends Entity> |
join(E joinedTable,
Column<?,?,?>... joinByColumn) |
default <E extends Entity> |
join(E joinedTable,
Column<?,?,?> onColumn,
Where where) |
default <E extends Entity,K extends Composite> |
join(E joinedTable,
CompositeColumns<K> compositeColumns) |
default <E extends Entity> |
join(E joinedTable,
JoinOn<E,?,?> on) |
default <E extends Entity> |
join(E joinedTable,
JoinOn<E,?,?> on,
Where where) |
default <E extends Entity> |
join(E joinedTable,
Where where) |
default <E extends Entity> |
join(E joinedTable,
Where where,
Column<?,?,?>... joinByColumn) |
default <E extends Entity> |
join(JoinType type,
E joinedTable,
Column<?,?,?>... joinByColumn) |
default <E extends Entity> |
join(JoinType type,
E joinedTable,
Column<?,?,?> onColumn,
Where where) |
default <E extends Entity> |
join(JoinType type,
E joinedTable,
JoinOn<E,?,?> on) |
default <E extends Entity> |
join(JoinType type,
E joinedTable,
JoinOn<E,?,?> on,
Where where) |
default <E extends Entity> |
join(JoinType type,
E joinedTable,
List<Column<?,?,?>> joinByColumns) |
default <E extends Entity> |
join(JoinType type,
E joinedTable,
List<Column<?,?,?>> joinByColumns,
Where where) |
default <E extends Entity> |
join(JoinType type,
E joinedTable,
Where where) |
default <E extends Entity> |
join(JoinType type,
E joinedTable,
Where where,
Column<?,?,?>... joinByColumn) |
default <E extends Entity> |
joinByFlag1(E joinedTable,
boolean enableTFK1,
Column<?,?,?> joinByColumn) |
default <E extends Entity> |
joinByFlag1(E joinedTable,
boolean enableTFK1,
Column<?,?,?> joinByColumn,
Where where) |
default <E extends Entity> |
joinByFlag2(E joinedTable,
boolean enableTFK1,
Column<?,?,?> joinByColumn1,
boolean enableTFK2,
Column<?,?,?> joinByColumn2) |
default <E extends Entity> |
joinByFlag2(E joinedTable,
boolean enableTFK1,
Column<?,?,?> joinByColumn1,
boolean enableTFK2,
Column<?,?,?> joinByColumn2,
Where where) |
default <E extends Entity> |
joinByFlag3(E joinedTable,
boolean enableTFK1,
Column<?,?,?> joinByColumn1,
boolean enableTFK2,
Column<?,?,?> joinByColumn2,
boolean enableTFK3,
Column<?,?,?> joinByColumn3) |
default <E extends Entity> |
joinByFlag3(E joinedTable,
boolean enableTFK1,
Column<?,?,?> joinByColumn1,
boolean enableTFK2,
Column<?,?,?> joinByColumn2,
boolean enableTFK3,
Column<?,?,?> joinByColumn3,
Where where) |
default <E extends Entity> |
joinByFlag4(E joinedTable,
boolean enableTFK1,
Column<?,?,?> joinByColumn1,
boolean enableTFK2,
Column<?,?,?> joinByColumn2,
boolean enableTFK3,
Column<?,?,?> joinByColumn3,
boolean enableTFK4,
Column<?,?,?> joinByColumn4) |
default <E extends Entity> |
joinByFlag4(E joinedTable,
boolean enableTFK1,
Column<?,?,?> joinByColumn1,
boolean enableTFK2,
Column<?,?,?> joinByColumn2,
boolean enableTFK3,
Column<?,?,?> joinByColumn3,
boolean enableTFK4,
Column<?,?,?> joinByColumn4,
Where where) |
default <E extends Entity & PrimaryKey,R extends EntityRelation> |
joinByPk(E tablePK,
R... tablesFK)
Inner Join tables by their ForeignKey
|
default <E extends Entity & PrimaryKey,R extends EntityRelation> |
joinByPk(JoinType type,
E tablePK,
R... tablesFK)
Inner Join tables by their ForeignKey
|
default <E extends Entity & PrimaryKey> |
joinPk(JoinType type,
E joinedTable) |
default <E extends Entity & PrimaryKey> |
joinPk(JoinType type,
E joinedTable,
Where where) |
default Q |
joinPk(PrimaryKey... joinedTable) |
default <E extends Entity,R extends EntityRelation> |
joinRoute(E queryEntity,
R... joinedTables) |
default <E extends Entity,R extends EntityRelation> |
joinRoute(JoinType type,
E queryEntity,
R... joinedTables) |
default <R extends EntityRelation> |
joinThrough(JoinType type,
Set<String> totables,
R... throughTables) |
default <R extends EntityRelation> |
joinThrough(Set<String> totables,
R... throughTables) |
default <R extends EntityRelation> |
joinWhere(JoinType type,
R joinedTable,
Where where) |
default <R extends EntityRelation> |
joinWhere(R joinedTable,
Where where) |
void |
setJoins(List<JoinWrapper> joins) |
List<JoinWrapper> getJoins()
void setJoins(List<JoinWrapper> joins)
QueryTarget getTarget()
String getEntityName()
default <E extends Entity & PrimaryKey,R extends EntityRelation> Q joinByPk(E tablePK, R... tablesFK)
E
- R
- tablePK
- - table with PrimaryKeytablesFK
- - tables with relagtion ForeignKey to tablePKdefault <E extends Entity> Q joinByFlag1(E joinedTable, boolean enableTFK1, Column<?,?,?> joinByColumn)
default <E extends Entity> Q joinByFlag1(E joinedTable, boolean enableTFK1, Column<?,?,?> joinByColumn, Where where)
default <E extends Entity> Q joinByFlag2(E joinedTable, boolean enableTFK1, Column<?,?,?> joinByColumn1, boolean enableTFK2, Column<?,?,?> joinByColumn2)
default <E extends Entity> Q joinByFlag2(E joinedTable, boolean enableTFK1, Column<?,?,?> joinByColumn1, boolean enableTFK2, Column<?,?,?> joinByColumn2, Where where)
default <E extends Entity> Q joinByFlag3(E joinedTable, boolean enableTFK1, Column<?,?,?> joinByColumn1, boolean enableTFK2, Column<?,?,?> joinByColumn2, boolean enableTFK3, Column<?,?,?> joinByColumn3)
default <E extends Entity> Q joinByFlag3(E joinedTable, boolean enableTFK1, Column<?,?,?> joinByColumn1, boolean enableTFK2, Column<?,?,?> joinByColumn2, boolean enableTFK3, Column<?,?,?> joinByColumn3, Where where)
default <E extends Entity> Q joinByFlag4(E joinedTable, boolean enableTFK1, Column<?,?,?> joinByColumn1, boolean enableTFK2, Column<?,?,?> joinByColumn2, boolean enableTFK3, Column<?,?,?> joinByColumn3, boolean enableTFK4, Column<?,?,?> joinByColumn4)
default <E extends Entity> Q joinByFlag4(E joinedTable, boolean enableTFK1, Column<?,?,?> joinByColumn1, boolean enableTFK2, Column<?,?,?> joinByColumn2, boolean enableTFK3, Column<?,?,?> joinByColumn3, boolean enableTFK4, Column<?,?,?> joinByColumn4, Where where)
default <R extends EntityRelation> Q joinThrough(Set<String> totables, R... throughTables)
default <E extends Entity,R extends EntityRelation> Q joinRoute(E queryEntity, R... joinedTables)
default <E extends Entity,K extends Composite> Q join(E joinedTable, CompositeColumns<K> compositeColumns)
default Q joinPk(PrimaryKey... joinedTable)
default <E extends Entity & PrimaryKey> Q joinPk(JoinType type, E joinedTable)
default <E extends Entity & PrimaryKey> Q joinPk(JoinType type, E joinedTable, Where where)
default <R extends EntityRelation> Q joinWhere(R joinedTable, Where where)
default <E extends Entity & PrimaryKey,R extends EntityRelation> Q joinByPk(JoinType type, E tablePK, R... tablesFK)
E
- R
- tablePK
- - table with PrimaryKeytablesFK
- - tables with relagtion ForeignKey to tablePKdefault <R extends EntityRelation> Q joinThrough(JoinType type, Set<String> totables, R... throughTables)
default <E extends Entity,R extends EntityRelation> Q joinRoute(JoinType type, E queryEntity, R... joinedTables)
default <E extends Entity> Q join(JoinType type, E joinedTable, List<Column<?,?,?>> joinByColumns)
default <E extends Entity> Q join(JoinType type, E joinedTable, List<Column<?,?,?>> joinByColumns, Where where)
default <E extends Entity> Q join(JoinType type, E joinedTable, Column<?,?,?> onColumn, Where where)
default <E extends Entity> Q join(JoinType type, E joinedTable, Where where, Column<?,?,?>... joinByColumn)
default <R extends EntityRelation> Q joinWhere(JoinType type, R joinedTable, Where where)
Copyright © 2021. All rights reserved.