Class TAuthorizerReq

    • Field Detail

      • authorType

        public int authorType
      • userName

        public String userName
      • roleName

        public String roleName
      • password

        public String password
      • newPassword

        public String newPassword
      • grantOpt

        public boolean grantOpt
    • Constructor Detail

      • TAuthorizerReq

        public TAuthorizerReq()
      • TAuthorizerReq

        public TAuthorizerReq​(TAuthorizerReq other)
        Performs a deep copy on other.
    • Method Detail

      • getAuthorType

        public int getAuthorType()
      • setAuthorType

        public TAuthorizerReq setAuthorType​(int authorType)
      • unsetAuthorType

        public void unsetAuthorType()
      • isSetAuthorType

        public boolean isSetAuthorType()
        Returns true if field authorType is set (has been assigned a value) and false otherwise
      • setAuthorTypeIsSet

        public void setAuthorTypeIsSet​(boolean value)
      • getUserName

        public String getUserName()
      • unsetUserName

        public void unsetUserName()
      • isSetUserName

        public boolean isSetUserName()
        Returns true if field userName is set (has been assigned a value) and false otherwise
      • setUserNameIsSet

        public void setUserNameIsSet​(boolean value)
      • getRoleName

        public String getRoleName()
      • unsetRoleName

        public void unsetRoleName()
      • isSetRoleName

        public boolean isSetRoleName()
        Returns true if field roleName is set (has been assigned a value) and false otherwise
      • setRoleNameIsSet

        public void setRoleNameIsSet​(boolean value)
      • getPassword

        public String getPassword()
      • unsetPassword

        public void unsetPassword()
      • isSetPassword

        public boolean isSetPassword()
        Returns true if field password is set (has been assigned a value) and false otherwise
      • setPasswordIsSet

        public void setPasswordIsSet​(boolean value)
      • getNewPassword

        public String getNewPassword()
      • unsetNewPassword

        public void unsetNewPassword()
      • isSetNewPassword

        public boolean isSetNewPassword()
        Returns true if field newPassword is set (has been assigned a value) and false otherwise
      • setNewPasswordIsSet

        public void setNewPasswordIsSet​(boolean value)
      • getPermissionsSize

        public int getPermissionsSize()
      • getPermissionsIterator

        public Iterator<Integer> getPermissionsIterator()
      • addToPermissions

        public void addToPermissions​(int elem)
      • getPermissions

        public Set<Integer> getPermissions()
      • unsetPermissions

        public void unsetPermissions()
      • isSetPermissions

        public boolean isSetPermissions()
        Returns true if field permissions is set (has been assigned a value) and false otherwise
      • setPermissionsIsSet

        public void setPermissionsIsSet​(boolean value)
      • isGrantOpt

        public boolean isGrantOpt()
      • setGrantOpt

        public TAuthorizerReq setGrantOpt​(boolean grantOpt)
      • unsetGrantOpt

        public void unsetGrantOpt()
      • isSetGrantOpt

        public boolean isSetGrantOpt()
        Returns true if field grantOpt is set (has been assigned a value) and false otherwise
      • setGrantOptIsSet

        public void setGrantOptIsSet​(boolean value)
      • getNodeNameList

        public byte[] getNodeNameList()
      • bufferForNodeNameList

        public ByteBuffer bufferForNodeNameList()
      • setNodeNameList

        public TAuthorizerReq setNodeNameList​(byte[] nodeNameList)
      • unsetNodeNameList

        public void unsetNodeNameList()
      • isSetNodeNameList

        public boolean isSetNodeNameList()
        Returns true if field nodeNameList is set (has been assigned a value) and false otherwise
      • setNodeNameListIsSet

        public void setNodeNameListIsSet​(boolean value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • write

        public void write​(org.apache.thrift.protocol.TProtocol oprot)
                   throws org.apache.thrift.TException
        Specified by:
        write in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException