Class ContainedEventSelect

java.lang.Object
com.espertech.esper.common.client.soda.ContainedEventSelect
All Implemented Interfaces:
Serializable

public class ContainedEventSelect extends Object implements Serializable
Represents a contained-event selection.
See Also:
  • Constructor Details

    • ContainedEventSelect

      public ContainedEventSelect()
      Ctor.
    • ContainedEventSelect

      public ContainedEventSelect(Expression splitExpression)
      Ctor.
      Parameters:
      splitExpression - the property expression or other expression for splitting the event
  • Method Details

    • getOptionalAsName

      public String getOptionalAsName()
      Returns the property alias.
      Returns:
      alias
    • setOptionalAsName

      public void setOptionalAsName(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 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(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(StringWriter writer, EPStatementFormatter formatter)
      Returns the EPL.
      Parameters:
      writer - to write to
      formatter - for newline-whitespace formatting
    • toEPL

      public static void toEPL(StringWriter writer, EPStatementFormatter formatter, List<ContainedEventSelect> items)
      Render contained-event select
      Parameters:
      writer - to render to
      formatter - to use
      items - to render