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