com.scalar.db.sql.statement.TruncateCoordinatorTablesStatement Maven / Gradle / Ivy
package com.scalar.db.sql.statement;
import javax.annotation.concurrent.Immutable;
@Immutable
public class TruncateCoordinatorTablesStatement implements DdlStatement {
private static final TruncateCoordinatorTablesStatement INSTANCE =
new TruncateCoordinatorTablesStatement();
private TruncateCoordinatorTablesStatement() {}
@Override
public String toSql() {
return "TRUNCATE COORDINATOR TABLES";
}
@Override
public R accept(StatementVisitor visitor, C context) {
return visitor.visit(this, context);
}
@Override
public R accept(DdlStatementVisitor visitor, C context) {
return visitor.visit(this, context);
}
@Override
public String toString() {
return toSql();
}
public static TruncateCoordinatorTablesStatement create() {
return INSTANCE;
}
}