com.espertech.esper.client.soda
Class OnClause

java.lang.Object
  extended by com.espertech.esper.client.soda.OnClause
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
OnDeleteClause, OnInsertSplitStreamClause, OnMergeClause, OnMergeMatchItem, OnSelectClause, OnSetClause, OnUpdateClause

public abstract class OnClause
extends java.lang.Object
implements java.io.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()
          Ctor.
 
Method Summary
static OnDeleteClause createOnDelete(java.lang.String windowName, java.lang.String asName)
          Creates an on-delete clause for deleting from a named window.
static OnInsertSplitStreamClause createOnInsertSplitStream()
          Creates a split-stream clause.
static OnSelectClause createOnSelect(java.lang.String windowName, java.lang.String asName)
          Creates an on-select clause for selecting from a named window.
static OnSetClause createOnSet(Expression expression)
          Creates an on-set clause for setting variable values.
static OnUpdateClause createOnUpdate(java.lang.String windowName, java.lang.String asName, Expression expression)
          Creates an on-update clause for updating a named window.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnClause

public OnClause()
Ctor.

Method Detail

createOnDelete

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

Parameters:
windowName - is the named window name
asName - is the as-provided name of the named window
Returns:
on-delete clause

createOnInsertSplitStream

public static OnInsertSplitStreamClause createOnInsertSplitStream()
Creates a split-stream clause.

Returns:
split-stream on-insert clause

createOnSelect

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

Parameters:
windowName - is the named window name
asName - is the as-provided name of the named window
Returns:
on-select clause

createOnUpdate

public static OnUpdateClause createOnUpdate(java.lang.String windowName,
                                            java.lang.String asName,
                                            Expression expression)
Creates an on-update clause for updating a named window.

Parameters:
windowName - is the named window name
asName - is the as-provided name of the named window
expression - expression
Returns:
on-update clause

createOnSet

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

Parameters:
expression - is the assignment expression
Returns:
on-set clause

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