Class RenameTableStatement
java.lang.Object
net.sf.jsqlparser.statement.alter.RenameTableStatement
- All Implemented Interfaces:
Serializable
,Model
,Statement
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final LinkedHashMap
<Table, Table> private boolean
private boolean
private String
-
Constructor Summary
ConstructorsConstructorDescriptionRenameTableStatement
(Table oldName, Table newName) RenameTableStatement
(Table oldName, Table newName, boolean usingTableKeyword, boolean usingIfExistsKeyword, String waitDirective) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(StatementVisitor statementVisitor) void
addTableNames
(Table oldName, Table newName) appendTo
(StringBuilder builder) int
boolean
boolean
boolean
void
setUsingIfExistsKeyword
(boolean usingIfExistsKeyword) void
setUsingTableKeyword
(boolean usingTableKeyword) void
setWaitDirective
(String waitDirective) toString()
withUsingIfExistsKeyword
(boolean usingIfExistsKeyword) withUsingTableKeyword
(boolean usingTableKeyword) withWaitDirective
(String waitDirective)
-
Field Details
-
tableNames
-
usingTableKeyword
private boolean usingTableKeyword -
usingIfExistsKeyword
private boolean usingIfExistsKeyword -
waitDirective
-
-
Constructor Details
-
RenameTableStatement
-
RenameTableStatement
-
-
Method Details
-
addTableNames
-
isUsingTableKeyword
public boolean isUsingTableKeyword() -
setUsingTableKeyword
public void setUsingTableKeyword(boolean usingTableKeyword) -
withUsingTableKeyword
-
isUsingIfExistsKeyword
public boolean isUsingIfExistsKeyword() -
setUsingIfExistsKeyword
public void setUsingIfExistsKeyword(boolean usingIfExistsKeyword) -
withUsingIfExistsKeyword
-
getWaitDirective
-
setWaitDirective
-
withWaitDirective
-
getTableNamesSize
public int getTableNamesSize() -
isTableNamesEmpty
public boolean isTableNamesEmpty() -
getTableNames
-
accept
-
appendTo
-
toString
-