public class Table extends AbstractFragment implements TableReference, GenericFragment
Table in an SQL Statementroot| Constructor and Description |
|---|
Table(Fragment root,
String name)
Create a new
Table with a name and an alias |
Table(Fragment root,
String name,
String as)
Create a new
Table with a name and an alias |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(FragmentVisitor visitor)
Accept a generic fragment visitor
|
Optional<String> |
getAs()
Get the correlation name (i.e.
|
String |
getName()
Get the name of the table
|
getRootpublic Table(Fragment root, String name)
Table with a name and an aliasroot - SQL statement this table belongs toname - table namepublic String getName()
public Optional<String> getAs()
public void accept(FragmentVisitor visitor)
GenericFragmentaccept in interface GenericFragmentvisitor - visitorCopyright © 2018–2019. All rights reserved.