- java.lang.Object
-
- net.sf.jsqlparser.statement.truncate.Truncate
-
- All Implemented Interfaces:
Serializable,Model,Statement
public class Truncate extends Object implements Statement
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Truncate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,S>
Taccept(StatementVisitor<T> statementVisitor, S context)booleangetCascade()TablegetTable()List<Table>getTables()booleanisOnly()booleanisTableToken()voidsetCascade(boolean c)voidsetOnly(boolean only)voidsetTable(Table table)voidsetTables(List<Table> tables)voidsetTableToken(boolean hasTable)StringtoString()TruncatewithCascade(boolean cascade)TruncatewithOnly(boolean only)TruncatewithTable(Table table)TruncatewithTables(List<Table> tables)TruncatewithTableToken(boolean hasTableToken)
-
-
-
Method Detail
-
accept
public <T,S> T accept(StatementVisitor<T> statementVisitor, S context)
-
getTable
public Table getTable()
-
setTable
public void setTable(Table table)
-
getCascade
public boolean getCascade()
-
setCascade
public void setCascade(boolean c)
-
isTableToken
public boolean isTableToken()
-
setTableToken
public void setTableToken(boolean hasTable)
-
isOnly
public boolean isOnly()
-
setOnly
public void setOnly(boolean only)
-
withTableToken
public Truncate withTableToken(boolean hasTableToken)
-
withCascade
public Truncate withCascade(boolean cascade)
-
withOnly
public Truncate withOnly(boolean only)
-
-