public class FromClause extends AbstractFragment implements SelectFragment
| Constructor and Description |
|---|
FromClause(Fragment root)
Create a new instance of a
FromClause |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(SelectVisitor visitor)
Accept a visitor (e.g.
|
FromClause |
fullJoin(String name,
String specification)
Create a new full
Join that belongs to a FROM clause |
FromClause |
fullOuterJoin(String name,
String specification)
Create a new full outer
Join that belongs to a FROM clause |
FromClause |
innerJoin(String name,
String specification)
Create a new inner
Join that belongs to a FROM clause |
FromClause |
join(String name,
String specification)
Create a new
Join that belongs to a FROM clause |
FromClause |
leftJoin(String name,
String specification)
Create a new left
Join that belongs to a FROM clause |
FromClause |
leftOuterJoin(String name,
String specification)
Create a new left outer
Join that belongs to a FROM clause |
FromClause |
rightJoin(String name,
String specification)
Create a new right
Join that belongs to a FROM clause |
FromClause |
rightOuterJoin(String name,
String specification)
Create a new right outer
Join that belongs to a FROM clause |
FromClause |
table(String name)
Create a
FromClause from a table name |
FromClause |
tableAs(String name,
String as)
Create a
FromClause from a table name and an alias |
getRootpublic FromClause(Fragment root)
FromClauseroot - root SQL statement this FROM clause belongs topublic FromClause table(String name)
FromClause from a table namename - table namepublic FromClause tableAs(String name, String as)
FromClause from a table name and an aliasname - table nameas - table aliaspublic FromClause join(String name, String specification)
Join that belongs to a FROM clausename - name of the table to be joinedspecification - join conditionspublic FromClause innerJoin(String name, String specification)
Join that belongs to a FROM clausename - name of the table to be joinedspecification - join conditionspublic FromClause leftJoin(String name, String specification)
Join that belongs to a FROM clausename - name of the table to be joinedspecification - join conditionspublic FromClause rightJoin(String name, String specification)
Join that belongs to a FROM clausename - name of the table to be joinedspecification - join conditionspublic FromClause fullJoin(String name, String specification)
Join that belongs to a FROM clausename - name of the table to be joinedspecification - join conditionspublic FromClause leftOuterJoin(String name, String specification)
Join that belongs to a FROM clausename - name of the table to be joinedspecification - join conditionspublic FromClause rightOuterJoin(String name, String specification)
Join that belongs to a FROM clausename - name of the table to be joinedspecification - join conditionspublic FromClause fullOuterJoin(String name, String specification)
Join that belongs to a FROM clausename - name of the table to be joinedspecification - join conditionspublic void accept(SelectVisitor visitor)
SelectFragmentaccept in interface SelectFragmentvisitor - visitor to acceptCopyright © 2018. All rights reserved.