public class Table extends AbstractFragment
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(CreateTableVisitor visitor) |
void |
accept(DropTableVisitor visitor) |
void |
accept(TableValuesVisitor 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(TableValuesVisitor visitor)
public void accept(CreateTableVisitor visitor)
public void accept(DropTableVisitor visitor)
Copyright © 2018–2019. All rights reserved.