Class ContainedEventSelect
java.lang.Object
com.espertech.esper.common.client.soda.ContainedEventSelect
- All Implemented Interfaces:
Serializable
Represents a contained-event selection.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the property alias.Returns the event type name assigned to events that result by applying the split (contained event) expression.Returns the select clause.Returns the expression that returns the contained events.Returns the where clause.void
setOptionalAsName
(String optionalAsName) Sets the property aliasvoid
setOptionalSplitExpressionTypeName
(String optionalSplitExpressionTypeName) Sets the event type name assigned to events that result by applying the split (contained event) expression.void
setSelectClause
(SelectClause selectClause) Sets the select clause.void
setSplitExpression
(Expression splitExpression) Sets the expression that returns the contained events.void
setWhereClause
(Expression whereClause) Sets the where clause.void
toEPL
(StringWriter writer, EPStatementFormatter formatter) Returns the EPL.static void
toEPL
(StringWriter writer, EPStatementFormatter formatter, List<ContainedEventSelect> items) Render contained-event select
-
Constructor Details
-
ContainedEventSelect
public ContainedEventSelect()Ctor. -
ContainedEventSelect
Ctor.- Parameters:
splitExpression
- the property expression or other expression for splitting the event
-
-
Method Details
-
getOptionalAsName
Returns the property alias.- Returns:
- alias
-
setOptionalAsName
Sets the property alias- Parameters:
optionalAsName
- alias
-
getSelectClause
Returns the select clause.- Returns:
- select clause
-
setSelectClause
Sets the select clause.- Parameters:
selectClause
- select clause
-
getWhereClause
Returns the where clause.- Returns:
- where clause
-
setWhereClause
Sets the where clause.- Parameters:
whereClause
- where clause
-
getOptionalSplitExpressionTypeName
Returns the event type name assigned to events that result by applying the split (contained event) expression.- Returns:
- type name, or null if none assigned
-
setOptionalSplitExpressionTypeName
Sets the event type name assigned to events that result by applying the split (contained event) expression.- Parameters:
optionalSplitExpressionTypeName
- type name, or null if none assigned
-
getSplitExpression
Returns the expression that returns the contained events.- Returns:
- contained event expression
-
setSplitExpression
Sets the expression that returns the contained events.- Parameters:
splitExpression
- contained event expression
-
toEPL
Returns the EPL.- Parameters:
writer
- to write toformatter
- for newline-whitespace formatting
-
toEPL
public static void toEPL(StringWriter writer, EPStatementFormatter formatter, List<ContainedEventSelect> items) Render contained-event select- Parameters:
writer
- to render toformatter
- to useitems
- to render
-