public class DropTable extends AbstractFragment implements SqlStatement, DropTableFragment
DropTable statement.root| Constructor and Description |
|---|
DropTable(String tableName)
Create a new instance of an
DropTable statement. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DropTableVisitor visitor)
Accept a visitor (e.g.
|
DropTable |
cascadeConstraints()
Add
CASCADE CONSTRAINTS clause into a DROP TABLE statement. |
protected CascadeConstraints |
getCascadeConstraints() |
protected String |
getTableName() |
boolean |
hasIfExistsModifier()
Check if the
IF EXISTS clause is present. |
DropTable |
ifExists()
Add
IF EXISTS clause into a DROP TABLE statement. |
getRootpublic DropTable ifExists()
IF EXISTS clause into a DROP TABLE statement.this for fluent programmingpublic DropTable cascadeConstraints()
CASCADE CONSTRAINTS clause into a DROP TABLE statement.this for fluent programmingprotected String getTableName()
public boolean hasIfExistsModifier()
IF EXISTS clause is present.true if IF EXISTS clause is presentprotected CascadeConstraints getCascadeConstraints()
public void accept(DropTableVisitor visitor)
DropTableFragmentaccept in interface DropTableFragmentvisitor - visitor to acceptCopyright © 2018–2021. All rights reserved.