@@ -0,0 +1,878 @@
+/*%0A * Copyright (c) 2009-2013 Topi Nieminen%0A */%0Apackage fi.tnie.db.expr.ddl;%0A%0Aimport fi.tnie.db.expr.ElementVisitor;%0Aimport fi.tnie.db.expr.Keyword;%0Aimport fi.tnie.db.expr.SchemaElementName;%0Aimport fi.tnie.db.expr.Statement;%0Aimport fi.tnie.db.expr.VisitContext;%0Aimport fi.tnie.db.meta.BaseTable;%0A%0Apublic class Truncate%0A    extends Statement %7B%0A%0A    private SchemaElementName table;%0A    %0A    public Truncate(BaseTable table) %7B%0A        super(Name.TRUNCATE);%0A        %0A        if (table == null) %7B%0A            throw new NullPointerException(%22'table' must not be null%22);%0A        %7D%0A        %0A        this.table = relativize(table.getName());%0A    %7D%0A    %0A    %0A    @Override%0A    protected void traverseContent(VisitContext vc, ElementVisitor v) %7B%0A        Keyword.TRUNCATE.traverse(vc, v);        %0A        Keyword.TABLE.traverse(vc, v);%0A        this.table.traverse(vc, v);        %0A    %7D%0A%0A%7D%0A

Add Truncate -statement