Package org.apache.cassandra.audit
Enum AuditLogEntryType
- java.lang.Object
-
- java.lang.Enum<AuditLogEntryType>
-
- org.apache.cassandra.audit.AuditLogEntryType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AuditLogEntryType>
public enum AuditLogEntryType extends java.lang.Enum<AuditLogEntryType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditLogEntryCategory
getCategory()
static AuditLogEntryType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AuditLogEntryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SELECT
public static final AuditLogEntryType SELECT
-
UPDATE
public static final AuditLogEntryType UPDATE
-
DELETE
public static final AuditLogEntryType DELETE
-
TRUNCATE
public static final AuditLogEntryType TRUNCATE
-
CREATE_KEYSPACE
public static final AuditLogEntryType CREATE_KEYSPACE
-
ALTER_KEYSPACE
public static final AuditLogEntryType ALTER_KEYSPACE
-
DROP_KEYSPACE
public static final AuditLogEntryType DROP_KEYSPACE
-
CREATE_TABLE
public static final AuditLogEntryType CREATE_TABLE
-
DROP_TABLE
public static final AuditLogEntryType DROP_TABLE
-
PREPARE_STATEMENT
public static final AuditLogEntryType PREPARE_STATEMENT
-
DROP_TRIGGER
public static final AuditLogEntryType DROP_TRIGGER
-
LIST_USERS
public static final AuditLogEntryType LIST_USERS
-
CREATE_INDEX
public static final AuditLogEntryType CREATE_INDEX
-
DROP_INDEX
public static final AuditLogEntryType DROP_INDEX
-
GRANT
public static final AuditLogEntryType GRANT
-
REVOKE
public static final AuditLogEntryType REVOKE
-
CREATE_TYPE
public static final AuditLogEntryType CREATE_TYPE
-
DROP_AGGREGATE
public static final AuditLogEntryType DROP_AGGREGATE
-
ALTER_VIEW
public static final AuditLogEntryType ALTER_VIEW
-
CREATE_VIEW
public static final AuditLogEntryType CREATE_VIEW
-
DROP_ROLE
public static final AuditLogEntryType DROP_ROLE
-
CREATE_FUNCTION
public static final AuditLogEntryType CREATE_FUNCTION
-
ALTER_TABLE
public static final AuditLogEntryType ALTER_TABLE
-
BATCH
public static final AuditLogEntryType BATCH
-
CREATE_AGGREGATE
public static final AuditLogEntryType CREATE_AGGREGATE
-
DROP_VIEW
public static final AuditLogEntryType DROP_VIEW
-
DROP_TYPE
public static final AuditLogEntryType DROP_TYPE
-
DROP_FUNCTION
public static final AuditLogEntryType DROP_FUNCTION
-
ALTER_ROLE
public static final AuditLogEntryType ALTER_ROLE
-
CREATE_TRIGGER
public static final AuditLogEntryType CREATE_TRIGGER
-
LIST_ROLES
public static final AuditLogEntryType LIST_ROLES
-
LIST_PERMISSIONS
public static final AuditLogEntryType LIST_PERMISSIONS
-
ALTER_TYPE
public static final AuditLogEntryType ALTER_TYPE
-
CREATE_ROLE
public static final AuditLogEntryType CREATE_ROLE
-
USE_KEYSPACE
public static final AuditLogEntryType USE_KEYSPACE
-
DESCRIBE
public static final AuditLogEntryType DESCRIBE
-
REQUEST_FAILURE
public static final AuditLogEntryType REQUEST_FAILURE
-
LOGIN_ERROR
public static final AuditLogEntryType LOGIN_ERROR
-
UNAUTHORIZED_ATTEMPT
public static final AuditLogEntryType UNAUTHORIZED_ATTEMPT
-
LOGIN_SUCCESS
public static final AuditLogEntryType LOGIN_SUCCESS
-
-
Method Detail
-
values
public static AuditLogEntryType[] 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 (AuditLogEntryType c : AuditLogEntryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuditLogEntryType 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
-
getCategory
public AuditLogEntryCategory getCategory()
-
-