- java.lang.Object
-
- net.sf.jsqlparser.statement.truncate.Truncate
-
public class Truncate extends java.lang.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)
boolean
getCascade()
Table
getTable()
java.util.List<Table>
getTables()
boolean
isOnly()
boolean
isTableToken()
void
setCascade(boolean c)
void
setOnly(boolean only)
void
setTable(Table table)
void
setTables(java.util.List<Table> tables)
void
setTableToken(boolean hasTable)
java.lang.String
toString()
Truncate
withCascade(boolean cascade)
Truncate
withOnly(boolean only)
Truncate
withTable(Table table)
Truncate
withTables(java.util.List<Table> tables)
Truncate
withTableToken(boolean hasTableToken)
-
-
-
Method Detail
-
accept
public <T,S> T accept(StatementVisitor<T> statementVisitor, S context)
-
getTable
public Table getTable()
-
getTables
public java.util.List<Table> getTables()
-
setTable
public void setTable(Table table)
-
setTables
public void setTables(java.util.List<Table> tables)
-
getCascade
public boolean getCascade()
-
setCascade
public void setCascade(boolean c)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
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)
-
-