public TSStatus checkPermissionBeforeProcess(final String userName) {
    return AuthorityChecker.getTSStatus(
        AuthorityChecker.SUPER_USER.equals(userName),
        "Only the admin user can perform this operation");
  }
This class is a superclass of all statements.

<p>A Statement containing all semantic information of an SQL. It is obtained by traversing the
AST via {@link ASTVisitor}.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/Statement.java