|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.amrhassan.sqlbuilder.sources.SqlSources
public final class SqlSources
A one-stop place for all the possible SQL sources
| Method Summary | |
|---|---|
static SqlSource |
fullJoin(net.amrhassan.sqlbuilder.sources.TableSqlSource table1,
net.amrhassan.sqlbuilder.sources.TableSqlSource table2,
SqlRestriction on)
A FULL JOIN where the restriction is used for the ON clause |
static SqlSource |
join(net.amrhassan.sqlbuilder.sources.TableSqlSource table1,
net.amrhassan.sqlbuilder.sources.TableSqlSource table2,
SqlRestriction on)
A simple JOIN source where the restriction is used for the ON clause |
static SqlSource |
leftJoin(net.amrhassan.sqlbuilder.sources.TableSqlSource table1,
net.amrhassan.sqlbuilder.sources.TableSqlSource table2,
SqlRestriction on)
A LEFT JOIN source where the restriction is used for the ON clause |
static SqlSource |
rightJoin(net.amrhassan.sqlbuilder.sources.TableSqlSource table1,
net.amrhassan.sqlbuilder.sources.TableSqlSource table2,
SqlRestriction on)
A RIGHT JOIN where the restriction is used for the ON clause |
static SqlSource |
table(String name)
A table source |
static net.amrhassan.sqlbuilder.sources.TableSqlSource |
table(String name,
String alias)
A table source |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SqlSource join(net.amrhassan.sqlbuilder.sources.TableSqlSource table1,
net.amrhassan.sqlbuilder.sources.TableSqlSource table2,
SqlRestriction on)
public static SqlSource leftJoin(net.amrhassan.sqlbuilder.sources.TableSqlSource table1,
net.amrhassan.sqlbuilder.sources.TableSqlSource table2,
SqlRestriction on)
public static SqlSource rightJoin(net.amrhassan.sqlbuilder.sources.TableSqlSource table1,
net.amrhassan.sqlbuilder.sources.TableSqlSource table2,
SqlRestriction on)
public static SqlSource fullJoin(net.amrhassan.sqlbuilder.sources.TableSqlSource table1,
net.amrhassan.sqlbuilder.sources.TableSqlSource table2,
SqlRestriction on)
public static SqlSource table(String name)
name - The name of the table
public static net.amrhassan.sqlbuilder.sources.TableSqlSource table(String name,
String alias)
name - The name of the tablealias - The alias for the table
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||