public class ContainedEventSelect extends Object implements Serializable
Constructor and Description |
---|
ContainedEventSelect()
Ctor.
|
ContainedEventSelect(Expression splitExpression)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
String |
getOptionalAsName()
Returns the property alias.
|
String |
getOptionalSplitExpressionTypeName()
Returns the event type name assigned to events that result by applying the split (contained event) expression.
|
SelectClause |
getSelectClause()
Returns the select clause.
|
Expression |
getSplitExpression()
Returns the expression that returns the contained events.
|
Expression |
getWhereClause()
Returns the where clause.
|
void |
setOptionalAsName(String optionalAsName)
Sets the property alias
|
void |
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
|
public ContainedEventSelect()
public ContainedEventSelect(Expression splitExpression)
splitExpression
- the property expression or other expression for splitting the eventpublic String getOptionalAsName()
public void setOptionalAsName(String optionalAsName)
optionalAsName
- aliaspublic SelectClause getSelectClause()
public void setSelectClause(SelectClause selectClause)
selectClause
- select clausepublic Expression getWhereClause()
public void setWhereClause(Expression whereClause)
whereClause
- where clausepublic String getOptionalSplitExpressionTypeName()
public void setOptionalSplitExpressionTypeName(String optionalSplitExpressionTypeName)
optionalSplitExpressionTypeName
- type name, or null if none assignedpublic Expression getSplitExpression()
public void setSplitExpression(Expression splitExpression)
splitExpression
- contained event expressionpublic void toEPL(StringWriter writer, EPStatementFormatter formatter)
writer
- to write toformatter
- for newline-whitespace formattingpublic static void toEPL(StringWriter writer, EPStatementFormatter formatter, List<ContainedEventSelect> items)
writer
- to render toformatter
- to useitems
- to render