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:
java.io.Serializable, java.lang.Comparable<OnTriggerType>

public enum OnTriggerType
extends java.lang.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_MERGE
          For on-merge triggers that insert/update an event in 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.
ON_SPLITSTREAM
          For the on-insert split-stream syntax allowing multiple insert-into streams.
ON_UPDATE
          For on-update triggers that update an event in a named window when a triggering event arrives.
 
Method Summary
 java.lang.String getTextual()
           
static OnTriggerType valueOf(java.lang.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 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

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_SPLITSTREAM

public static final OnTriggerType ON_SPLITSTREAM
For the on-insert split-stream syntax allowing multiple insert-into streams.


ON_SET

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


ON_UPDATE

public static final OnTriggerType ON_UPDATE
For on-update triggers that update an event in a named window when a triggering event arrives.


ON_MERGE

public static final OnTriggerType ON_MERGE
For on-merge triggers that insert/update an event in a named window when a triggering event arrives.

Method Detail

values

public static OnTriggerType[] 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 (OnTriggerType c : OnTriggerType.values())
    System.out.println(c);

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

valueOf

public static OnTriggerType 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 name
java.lang.NullPointerException - if the argument is null

getTextual

public java.lang.String getTextual()

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com