public final class SqlSources extends Object
| Modifier and Type | Method and Description |
|---|---|
static SqlSource |
fullJoin(SqlSource table1,
SqlSource table2,
SqlRestriction on)
A FULL JOIN where the restriction is used for the ON clause
|
static SqlSource |
join(SqlSource source1,
SqlSource source2,
SqlRestriction on)
A simple JOIN source where the restriction is used for the ON clause
|
static SqlSource |
leftJoin(SqlSource table1,
SqlSource table2,
SqlRestriction on)
A LEFT JOIN source where the restriction is used for the ON clause
|
static SqlSource |
rightJoin(SqlSource table1,
SqlSource table2,
SqlRestriction on)
A RIGHT JOIN where the restriction is used for the ON clause
|
static SqlSource |
table(String name)
A table source
|
static SqlSource |
table(String name,
String alias)
A table source
|
public static SqlSource join(SqlSource source1, SqlSource source2, SqlRestriction on)
public static SqlSource leftJoin(SqlSource table1, SqlSource table2, SqlRestriction on)
public static SqlSource rightJoin(SqlSource table1, SqlSource table2, SqlRestriction on)
public static SqlSource fullJoin(SqlSource table1, SqlSource table2, SqlRestriction on)
public static SqlSource table(String name)
name - The name of the tableCopyright © 2013. All Rights Reserved.