Class OnInsertSplitStreamItem

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

public class OnInsertSplitStreamItem extends Object implements Serializable
Items within the split-stream syntax to contain a tuple of insert-into, select and where-clause.
See Also:
  • Constructor Details

    • OnInsertSplitStreamItem

      public OnInsertSplitStreamItem()
      Ctor.
    • OnInsertSplitStreamItem

      public OnInsertSplitStreamItem(InsertIntoClause insertInto, SelectClause selectClause, List<ContainedEventSelect> propertySelects, String propertySelectsStreamName, Expression whereClause)
      Ctor.
      Parameters:
      insertInto - the insert-into clause
      selectClause - the select-clause
      propertySelects - contained-event selections
      propertySelectsStreamName - contained-event selection stream name
      whereClause - where-expression or null
    • OnInsertSplitStreamItem

      public OnInsertSplitStreamItem(InsertIntoClause insertInto, SelectClause selectClause, Expression whereClause)
      Ctor.
      Parameters:
      insertInto - the insert-into clause
      selectClause - the select-clause
      whereClause - where-expression or null
  • Method Details

    • create

      public static OnInsertSplitStreamItem create(InsertIntoClause insertInto, SelectClause selectClause, Expression whereClause)
      Factory method for split-stream items.
      Parameters:
      insertInto - the insert-into clause
      selectClause - the select-clause
      whereClause - where-expression or null
      Returns:
      split-stream item
    • create

      public static OnInsertSplitStreamItem create(InsertIntoClause insertInto, SelectClause selectClause, List<ContainedEventSelect> propertySelects, String propertySelectsStreamName, Expression whereClause)
      Factory method for split-stream items.
      Parameters:
      insertInto - the insert-into clause
      selectClause - the select-clause
      propertySelects - contained-event selects in the from-clause
      propertySelectsStreamName - stream name for contained-event selection
      whereClause - where-expression or null
      Returns:
      split-stream item
    • getInsertInto

      public InsertIntoClause getInsertInto()
      Returns the insert-into clause.
      Returns:
      insert-into clause
    • setInsertInto

      public void setInsertInto(InsertIntoClause insertInto)
      Sets the insert-into clause.
      Parameters:
      insertInto - insert-into clause
    • 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 optional where-clause.
      Returns:
      where-clause
    • setWhereClause

      public void setWhereClause(Expression whereClause)
      Sets the optional where-clause
      Parameters:
      whereClause - to set
    • getPropertySelects

      public List<ContainedEventSelect> getPropertySelects()
      Returns contained-event selection, if any.
      Returns:
      list or null
    • setPropertySelects

      public void setPropertySelects(List<ContainedEventSelect> propertySelects)
      Sets contained-event selection, if any.
      Parameters:
      propertySelects - list
    • getPropertySelectsStreamName

      public String getPropertySelectsStreamName()
      Returns the stream name assigned to contained-event selects, or null
      Returns:
      stream name
    • setPropertySelectsStreamName

      public void setPropertySelectsStreamName(String propertySelectsStreamName)
      Sets the stream name assigned to contained-event selects, or null
      Parameters:
      propertySelectsStreamName - stream name