public class DropTable extends AbstractFragment implements SqlStatement, DropTableFragment
DropTable statementroot| 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() |
boolean |
getIfExists()
Get true when IF EXISTS clause presents
|
protected String |
getTableName() |
DropTable |
ifExists()
Add IF EXISTS clause into a DROP TABLE statement
|
getRootpublic void accept(DropTableVisitor visitor)
DropTableFragmentaccept in interface DropTableFragmentvisitor - visitor to acceptpublic DropTable ifExists()
this for fluent programmingpublic DropTable cascadeConstraints()
this for fluent programmingpublic boolean getIfExists()
protected String getTableName()
protected CascadeConstraints getCascadeConstraints()
Copyright © 2018–2019. All rights reserved.