public class Join extends AbstractFragment implements SelectFragment
Join part of a WHERE clause.root| Constructor and Description |
|---|
Join(Fragment root,
JoinType type,
String name,
String specification)
Create a new
Join instance |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(SelectVisitor visitor)
Accept a visitor (e.g.
|
String |
getName()
Get the name of the joined table
|
String |
getSpecification()
Get the join specification
|
JoinType |
getType()
Get the type of the join
|
getRootpublic Join(Fragment root, JoinType type, String name, String specification)
Join instanceroot - SQL statement this JOIN belongs totype - type of join (e.g. INNER, LEFT or RIGHT OUTER)name - name of the table to be joinedspecification - join specification (e.g. ON or USING)public JoinType getType()
public String getName()
public String getSpecification()
public void accept(SelectVisitor visitor)
SelectFragmentaccept in interface SelectFragmentvisitor - visitor to acceptCopyright © 2018–2021. All rights reserved.