All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.scalar.db.sql.statement.ShowUsersStatement Maven / Gradle / Ivy

package com.scalar.db.sql.statement;

public class ShowUsersStatement implements CommandStatement {

  private static final ShowUsersStatement INSTANCE = new ShowUsersStatement();

  private ShowUsersStatement() {}

  @Override
  public String toSql() {
    return "SHOW USERS";
  }

  @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 ShowUsersStatement create() {
    return INSTANCE;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy