mondrian.server.monitor
Enum SqlStatementEvent.Purpose

java.lang.Object
  extended by java.lang.Enum<SqlStatementEvent.Purpose>
      extended by 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
CELL_SEGMENT
           
DRILL_THROUGH
           
OTHER
           
TUPLES
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads