类 AuthorInfo

  • 所有已实现的接口:
    org.apache.iotdb.commons.snapshot.SnapshotProcessor

    public class AuthorInfo
    extends java.lang.Object
    implements org.apache.iotdb.commons.snapshot.SnapshotProcessor
    • 构造器详细资料

      • AuthorInfo

        public AuthorInfo()
    • 方法详细资料

      • login

        public org.apache.iotdb.confignode.rpc.thrift.TPermissionInfoResp login​(java.lang.String username,
                                                                                java.lang.String password)
      • checkUserPrivileges

        public org.apache.iotdb.confignode.rpc.thrift.TPermissionInfoResp checkUserPrivileges​(java.lang.String username,
                                                                                              java.util.List<java.lang.String> paths,
                                                                                              int permission)
      • authorNonQuery

        public org.apache.iotdb.common.rpc.thrift.TSStatus authorNonQuery​(AuthorPlan authorPlan)
      • executeListUsers

        public PermissionInfoResp executeListUsers​(AuthorPlan plan)
                                            throws org.apache.iotdb.commons.auth.AuthException
        抛出:
        org.apache.iotdb.commons.auth.AuthException
      • executeListRoles

        public PermissionInfoResp executeListRoles​(AuthorPlan plan)
                                            throws org.apache.iotdb.commons.auth.AuthException
        抛出:
        org.apache.iotdb.commons.auth.AuthException
      • executeListRolePrivileges

        public PermissionInfoResp executeListRolePrivileges​(AuthorPlan plan)
                                                     throws org.apache.iotdb.commons.auth.AuthException
        抛出:
        org.apache.iotdb.commons.auth.AuthException
      • executeListUserPrivileges

        public PermissionInfoResp executeListUserPrivileges​(AuthorPlan plan)
                                                     throws org.apache.iotdb.commons.auth.AuthException
        抛出:
        org.apache.iotdb.commons.auth.AuthException
      • processTakeSnapshot

        public boolean processTakeSnapshot​(java.io.File snapshotDir)
                                    throws org.apache.thrift.TException,
                                           java.io.IOException
        指定者:
        processTakeSnapshot 在接口中 org.apache.iotdb.commons.snapshot.SnapshotProcessor
        抛出:
        org.apache.thrift.TException
        java.io.IOException
      • processLoadSnapshot

        public void processLoadSnapshot​(java.io.File snapshotDir)
                                 throws org.apache.thrift.TException,
                                        java.io.IOException
        指定者:
        processLoadSnapshot 在接口中 org.apache.iotdb.commons.snapshot.SnapshotProcessor
        抛出:
        org.apache.thrift.TException
        java.io.IOException
      • clear

        public void clear()
                   throws org.apache.iotdb.commons.auth.AuthException
        抛出:
        org.apache.iotdb.commons.auth.AuthException
      • getUserPermissionInfo

        public org.apache.iotdb.confignode.rpc.thrift.TPermissionInfoResp getUserPermissionInfo​(java.lang.String username)
                                                                                         throws org.apache.iotdb.commons.auth.AuthException
        Save the user's permission information,Bring back the DataNode for caching
        参数:
        username - The username of the user that needs to be cached
        抛出:
        org.apache.iotdb.commons.auth.AuthException