Class ForClauseItem
java.lang.Object
com.espertech.esper.common.client.soda.ForClauseItem
- All Implemented Interfaces:
Serializable
An item in a for-clause for controlling delivery of result events to listeners and subscribers.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ForClauseItem
create
(ForClauseKeyword keyword) Creates a for-clause with no expressions.Returns for-clause expressions.Returns the for-clause keyword.void
setExpressions
(List<Expression> expressions) Sets for-clause expressions.void
setKeyword
(ForClauseKeyword keyword) Sets the for-clause keyword.void
toEPL
(StringWriter writer) Renders the clause in textual representation.
-
Constructor Details
-
ForClauseItem
public ForClauseItem()Ctor.Must set a keyword and optionally add expressions.
-
ForClauseItem
Ctor.- Parameters:
keyword
- the delivery keyword
-
-
Method Details
-
create
Creates a for-clause with no expressions.- Parameters:
keyword
- keyword to use- Returns:
- for-clause
-
getKeyword
Returns the for-clause keyword.- Returns:
- keyword
-
setKeyword
Sets the for-clause keyword.- Parameters:
keyword
- to set
-
getExpressions
Returns for-clause expressions.- Returns:
- expressions
-
setExpressions
Sets for-clause expressions.- Parameters:
expressions
- expressions to set
-
toEPL
Renders the clause in textual representation.- Parameters:
writer
- to output to
-