com.espertech.esper.client.soda
Class ForClause

java.lang.Object
  extended by com.espertech.esper.client.soda.ForClause
All Implemented Interfaces:
java.io.Serializable

public class ForClause
extends java.lang.Object
implements java.io.Serializable

A for-clause is a means to specify listener and observer delivery.

See Also:
Serialized Form

Constructor Summary
ForClause()
           
 
Method Summary
static ForClause create()
          Creates an empty group-by clause, to add to via add methods.
 java.util.List<ForClauseItem> getItems()
          Returns for-clause items.
 void setItems(java.util.List<ForClauseItem> items)
          Sets for-clause items.
 void toEPL(java.io.StringWriter writer)
          Renders the clause in textual representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForClause

public ForClause()
Method Detail

create

public static ForClause create()
Creates an empty group-by clause, to add to via add methods.

Returns:
group-by clause

getItems

public java.util.List<ForClauseItem> getItems()
Returns for-clause items.

Returns:
items

setItems

public void setItems(java.util.List<ForClauseItem> items)
Sets for-clause items.

Parameters:
items - items

toEPL

public void toEPL(java.io.StringWriter writer)
Renders the clause in textual representation.

Parameters:
writer - to output to

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