public class RenameTableStatement extends Object implements Statement
Constructor and Description |
---|
RenameTableStatement(Table oldName,
Table newName) |
RenameTableStatement(Table oldName,
Table newName,
boolean usingTableKeyword,
boolean usingIfExistsKeyword,
String waitDirective) |
Modifier and Type | Method and Description |
---|---|
void |
accept(StatementVisitor statementVisitor) |
void |
addTableNames(Table oldName,
Table newName) |
StringBuilder |
appendTo(StringBuilder builder) |
Set<Map.Entry<Table,Table>> |
getTableNames() |
int |
getTableNamesSize() |
String |
getWaitDirective() |
boolean |
isTableNamesEmpty() |
boolean |
isUsingIfExistsKeyword() |
boolean |
isUsingTableKeyword() |
void |
setUsingIfExistsKeyword(boolean usingIfExistsKeyword) |
void |
setUsingTableKeyword(boolean usingTableKeyword) |
void |
setWaitDirective(String waitDirective) |
String |
toString() |
RenameTableStatement |
withUsingIfExistsKeyword(boolean usingIfExistsKeyword) |
RenameTableStatement |
withUsingTableKeyword(boolean usingTableKeyword) |
RenameTableStatement |
withWaitDirective(String waitDirective) |
public boolean isUsingTableKeyword()
public void setUsingTableKeyword(boolean usingTableKeyword)
public RenameTableStatement withUsingTableKeyword(boolean usingTableKeyword)
public boolean isUsingIfExistsKeyword()
public void setUsingIfExistsKeyword(boolean usingIfExistsKeyword)
public RenameTableStatement withUsingIfExistsKeyword(boolean usingIfExistsKeyword)
public String getWaitDirective()
public void setWaitDirective(String waitDirective)
public RenameTableStatement withWaitDirective(String waitDirective)
public int getTableNamesSize()
public boolean isTableNamesEmpty()
public void accept(StatementVisitor statementVisitor)
public StringBuilder appendTo(StringBuilder builder)
Copyright © 2004–2024 JSQLParser. All rights reserved.