Package mondrian.server.monitor
Enum SqlStatementEvent.Purpose
- java.lang.Object
-
- java.lang.Enum<SqlStatementEvent.Purpose>
-
- mondrian.server.monitor.SqlStatementEvent.Purpose
-
- All Implemented Interfaces:
Serializable
,Comparable<SqlStatementEvent.Purpose>
- Enclosing class:
- SqlStatementEvent
public static enum SqlStatementEvent.Purpose extends Enum<SqlStatementEvent.Purpose>
Reason why Mondrian is executing this SQL statement.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CELL_SEGMENT
DRILL_THROUGH
OTHER
TUPLES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SqlStatementEvent.Purpose
valueOf(String name)
Returns the enum constant of this type with the specified name.static SqlStatementEvent.Purpose[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DRILL_THROUGH
public static final SqlStatementEvent.Purpose DRILL_THROUGH
-
CELL_SEGMENT
public static final SqlStatementEvent.Purpose CELL_SEGMENT
-
TUPLES
public static final SqlStatementEvent.Purpose TUPLES
-
OTHER
public static final SqlStatementEvent.Purpose OTHER
-
-
Method Detail
-
values
public static SqlStatementEvent.Purpose[] 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 (SqlStatementEvent.Purpose c : SqlStatementEvent.Purpose.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlStatementEvent.Purpose valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-