Package org.apache.cassandra.audit
Enum AuditLogEntryCategory
- java.lang.Object
-
- java.lang.Enum<AuditLogEntryCategory>
-
- org.apache.cassandra.audit.AuditLogEntryCategory
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AuditLogEntryCategory>
public enum AuditLogEntryCategory extends java.lang.Enum<AuditLogEntryCategory>
Enum to categorize AuditLogEntries
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuditLogEntryCategory
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AuditLogEntryCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUERY
public static final AuditLogEntryCategory QUERY
-
DML
public static final AuditLogEntryCategory DML
-
DDL
public static final AuditLogEntryCategory DDL
-
DCL
public static final AuditLogEntryCategory DCL
-
OTHER
public static final AuditLogEntryCategory OTHER
-
AUTH
public static final AuditLogEntryCategory AUTH
-
ERROR
public static final AuditLogEntryCategory ERROR
-
PREPARE
public static final AuditLogEntryCategory PREPARE
-
-
Method Detail
-
values
public static AuditLogEntryCategory[] 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 (AuditLogEntryCategory c : AuditLogEntryCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuditLogEntryCategory 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
-
-