com.espertech.esper.client.soda
Class ContainedEventSelect

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

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

Represents a contained-event selection.

See Also:
Serialized Form

Constructor Summary
ContainedEventSelect()
          Ctor.
ContainedEventSelect(Expression splitExpression)
          Ctor.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainedEventSelect

public ContainedEventSelect()
Ctor.


ContainedEventSelect

public ContainedEventSelect(Expression splitExpression)
Ctor.

Parameters:
splitExpression - the property expression or other expression for splitting the event
Method Detail

getOptionalAsName

public java.lang.String getOptionalAsName()
Returns the property alias.

Returns:
alias

setOptionalAsName

public void setOptionalAsName(java.lang.String optionalAsName)
Sets the property alias

Parameters:
optionalAsName - alias

getSelectClause

public SelectClause getSelectClause()
Returns the select clause.

Returns:
select clause

setSelectClause

public void setSelectClause(SelectClause selectClause)
Sets the select clause.

Parameters:
selectClause - select clause

getWhereClause

public Expression getWhereClause()
Returns the where clause.

Returns:
where clause

setWhereClause

public void setWhereClause(Expression whereClause)
Sets the where clause.

Parameters:
whereClause - where clause

getOptionalSplitExpressionTypeName

public java.lang.String 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

public void setOptionalSplitExpressionTypeName(java.lang.String optionalSplitExpressionTypeName)
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

public Expression getSplitExpression()
Returns the expression that returns the contained events.

Returns:
contained event expression

setSplitExpression

public void setSplitExpression(Expression splitExpression)
Sets the expression that returns the contained events.

Parameters:
splitExpression - contained event expression

toEPL

public void toEPL(java.io.StringWriter writer,
                  EPStatementFormatter formatter)
Returns the EPL.

Parameters:
writer - to write to
formatter - for newline-whitespace formatting

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