com.espertech.esper.epl.spec
Enum OnTriggerType

java.lang.Object
  extended by java.lang.Enum<OnTriggerType>
      extended by com.espertech.esper.epl.spec.OnTriggerType
All Implemented Interfaces:
Serializable, Comparable<OnTriggerType>

public enum OnTriggerType
extends Enum<OnTriggerType>

Enum for the type of on-trigger statement.


Enum Constant Summary
ON_DELETE
          For on-delete triggers that delete from a named window when a triggering event arrives.
ON_SELECT
          For on-select triggers that selected from a named window when a triggering event arrives.
ON_SET
          For on-set triggers that set variable values when a triggering event arrives.
 
Method Summary
static OnTriggerType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OnTriggerType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ON_DELETE

public static final OnTriggerType ON_DELETE
For on-delete triggers that delete from a named window when a triggering event arrives.


ON_SELECT

public static final OnTriggerType ON_SELECT
For on-select triggers that selected from a named window when a triggering event arrives.


ON_SET

public static final OnTriggerType ON_SET
For on-set triggers that set variable values when a triggering event arrives.

Method Detail

values

public static final OnTriggerType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(OnTriggerType c : OnTriggerType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static OnTriggerType 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

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com