net.esper.client.soda
Class OnClause

java.lang.Object
  extended by net.esper.client.soda.OnClause
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
OnDeleteClause, OnSelectClause, OnSetClause

public abstract class OnClause
extends Object
implements Serializable

A clause to delete from a named window based on a triggering event arriving and correlated to the named window events to be deleted.

See Also:
Serialized Form

Constructor Summary
OnClause()
           
 
Method Summary
static OnDeleteClause createOnDelete(String windowName, String asNameAlias)
          Creates an on-delete clause for deleting from a named window.
static OnSelectClause createOnSelect(String windowName, String asNameAlias)
          Creates an on-select clause for selecting from a named window.
static OnSetClause createOnSet(String variableName, Expression expression)
          Creates an on-set clause for setting variable values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnClause

public OnClause()
Method Detail

createOnDelete

public static OnDeleteClause createOnDelete(String windowName,
                                            String asNameAlias)
Creates an on-delete clause for deleting from a named window.

Parameters:
windowName - is the named window name
asNameAlias - is the alias name of the named window
Returns:
on-delete clause

createOnSelect

public static OnSelectClause createOnSelect(String windowName,
                                            String asNameAlias)
Creates an on-select clause for selecting from a named window.

Parameters:
windowName - is the named window name
asNameAlias - is the alias name of the named window
Returns:
on-select clause

createOnSet

public static OnSetClause createOnSet(String variableName,
                                      Expression expression)
Creates an on-set clause for setting variable values.

Parameters:
variableName - is the name of the first variable to set, additional ones can be added to the clause itself
expression - is the assignment expression
Returns:
on-set clause

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