net.esper.client.soda
Class OnSelectClause

java.lang.Object
  extended by net.esper.client.soda.OnClause
      extended by net.esper.client.soda.OnSelectClause
All Implemented Interfaces:
Serializable

public class OnSelectClause
extends OnClause

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
OnSelectClause(String windowName, String optionalAsName)
          Ctor.
 
Method Summary
static OnSelectClause create(String windowName, String optionalAsName)
          Creates an on-select clause.
 String getOptionalAsName()
          Returns the as-alias for the named window.
 String getWindowName()
          Returns the name of the named window to delete from.
 void setOptionalAsName(String optionalAsName)
          Sets the as-alias for the named window.
 void setWindowName(String windowName)
          Sets the name of the named window.
 void toEQL(StringWriter writer)
          Renders the clause in textual representation.
 
Methods inherited from class net.esper.client.soda.OnClause
createOnDelete, createOnSelect, createOnSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnSelectClause

public OnSelectClause(String windowName,
                      String optionalAsName)
Ctor.

Parameters:
windowName - is the named window name
optionalAsName - is the alias name of the named window
Method Detail

create

public static OnSelectClause create(String windowName,
                                    String optionalAsName)
Creates an on-select clause.

Parameters:
windowName - is the named window name
optionalAsName - is the optional alias
Returns:
on-select clause

toEQL

public void toEQL(StringWriter writer)
Renders the clause in textual representation.

Parameters:
writer - to output to

getWindowName

public String getWindowName()
Returns the name of the named window to delete from.

Returns:
named window name

setWindowName

public void setWindowName(String windowName)
Sets the name of the named window.

Parameters:
windowName - window name

getOptionalAsName

public String getOptionalAsName()
Returns the as-alias for the named window.

Returns:
alias

setOptionalAsName

public void setOptionalAsName(String optionalAsName)
Sets the as-alias for the named window.

Parameters:
optionalAsName - alias to set for window

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