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