Package io.ebeaninternal.server.deploy
Class TableJoin
- java.lang.Object
-
- io.ebeaninternal.server.deploy.TableJoin
-
-
Constructor Summary
Constructors Constructor Description TableJoin(DeployTableJoin deploy)
TableJoin(DeployTableJoin deploy, PropertyForeignKey foreignKey)
Create a TableJoin.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlJoinType
addJoin(SqlJoinType joinType, String prefix, DbSqlContext ctx)
void
addJoin(SqlJoinType joinType, String prefix, DbSqlContext ctx, String predicate)
SqlJoinType
addJoin(SqlJoinType joinType, String a1, String a2, DbSqlContext ctx)
void
addJoin(String a1, String a2, StringBuilder sb)
TableJoinColumn[]
columns()
Return the join columns.boolean
equals(Object o)
PropertyForeignKey
getForeignKey()
Return the foreign key options.String
getTable()
Return the joined table name.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
TableJoin
public TableJoin(DeployTableJoin deploy)
-
TableJoin
public TableJoin(DeployTableJoin deploy, PropertyForeignKey foreignKey)
Create a TableJoin.
-
-
Method Detail
-
getForeignKey
public PropertyForeignKey getForeignKey()
Return the foreign key options.
-
columns
public TableJoinColumn[] columns()
Return the join columns.
-
addJoin
public void addJoin(SqlJoinType joinType, String prefix, DbSqlContext ctx, String predicate)
-
addJoin
public SqlJoinType addJoin(SqlJoinType joinType, String prefix, DbSqlContext ctx)
-
addJoin
public SqlJoinType addJoin(SqlJoinType joinType, String a1, String a2, DbSqlContext ctx)
-
addJoin
public void addJoin(String a1, String a2, StringBuilder sb)
-
-