public class FromClause extends AbstractFragment implements SelectFragment
root| 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)
Add a table name to the
FromClause |
FromClause |
tableAs(String name,
String as)
Add a table name with an an alias to the
FromClause |
FromClause |
valueTable(ValueTable valueTable)
Create a
FromClause from a value table |
getRootpublic FromClause(Fragment root)
FromClauseroot - root SQL statement this FROM clause belongs topublic FromClause table(String name)
FromClausename - table namepublic FromClause tableAs(String name, String as)
FromClausename - table nameas - table aliaspublic FromClause valueTable(ValueTable valueTable)
FromClause from a value tablevalueTable - table of value expressionspublic 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–2019. All rights reserved.