Enum AuthorOperator.AuthorType
- java.lang.Object
-
- java.lang.Enum<AuthorOperator.AuthorType>
-
- org.apache.iotdb.db.qp.logical.sys.AuthorOperator.AuthorType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AuthorOperator.AuthorType>
- Enclosing class:
- AuthorOperator
public static enum AuthorOperator.AuthorType extends java.lang.Enum<AuthorOperator.AuthorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATE_ROLECREATE_USERDROP_ROLEDROP_USERGRANT_ROLEGRANT_USERGRANT_USER_ROLELIST_ROLELIST_ROLE_PRIVILEGELIST_USERLIST_USER_PRIVILEGEREVOKE_ROLEREVOKE_USERREVOKE_USER_ROLEUPDATE_USER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthorOperator.AuthorTypedeserialize(short i)deserialize short number.shortserialize()serialize.static AuthorOperator.AuthorTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AuthorOperator.AuthorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE_USER
public static final AuthorOperator.AuthorType CREATE_USER
-
CREATE_ROLE
public static final AuthorOperator.AuthorType CREATE_ROLE
-
DROP_USER
public static final AuthorOperator.AuthorType DROP_USER
-
DROP_ROLE
public static final AuthorOperator.AuthorType DROP_ROLE
-
GRANT_ROLE
public static final AuthorOperator.AuthorType GRANT_ROLE
-
GRANT_USER
public static final AuthorOperator.AuthorType GRANT_USER
-
GRANT_USER_ROLE
public static final AuthorOperator.AuthorType GRANT_USER_ROLE
-
REVOKE_USER
public static final AuthorOperator.AuthorType REVOKE_USER
-
REVOKE_ROLE
public static final AuthorOperator.AuthorType REVOKE_ROLE
-
REVOKE_USER_ROLE
public static final AuthorOperator.AuthorType REVOKE_USER_ROLE
-
UPDATE_USER
public static final AuthorOperator.AuthorType UPDATE_USER
-
LIST_USER
public static final AuthorOperator.AuthorType LIST_USER
-
LIST_ROLE
public static final AuthorOperator.AuthorType LIST_ROLE
-
LIST_USER_PRIVILEGE
public static final AuthorOperator.AuthorType LIST_USER_PRIVILEGE
-
LIST_ROLE_PRIVILEGE
public static final AuthorOperator.AuthorType LIST_ROLE_PRIVILEGE
-
-
Method Detail
-
values
public static AuthorOperator.AuthorType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AuthorOperator.AuthorType c : AuthorOperator.AuthorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthorOperator.AuthorType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
deserialize
public static AuthorOperator.AuthorType deserialize(short i)
deserialize short number.- Parameters:
i- short number- Returns:
- NamespaceType
-
serialize
public short serialize()
serialize.- Returns:
- short number
-
-