package net.sf.jsqlparser.statement.truncate; import net.sf.jsqlparser.schema.Table; import net.sf.jsqlparser.statement.Statement; import net.sf.jsqlparser.statement.StatementVisitor; /** * A TRUNCATE TABLE statement */ public class Truncate implements Statement { private Table table; public void accept(StatementVisitor statementVisitor) { statementVisitor.visit(this); } public Table getTable() { return table; } public void setTable(Table table) { this.table = table; } public String toString() { return "TRUNCATE TABLE "+table; } }