Example #1
0
 /// <summary>
 /// Factory method for split-stream items.
 /// </summary>
 /// <param name="insertInto">the insert-into clause</param>
 /// <param name="selectClause">the select-clause</param>
 /// <param name="whereClause">where-expression or null</param>
 /// <returns>split-stream item</returns>
 public static OnInsertSplitStreamItem Create(
     InsertIntoClause insertInto,
     SelectClause selectClause,
     Expression whereClause)
 {
     return(new OnInsertSplitStreamItem(insertInto, selectClause, whereClause));
 }
Example #2
0
 /// <summary>
 /// Factory method for split-stream items.
 /// </summary>
 /// <param name="insertInto">the insert-into clause</param>
 /// <param name="selectClause">the select-clause</param>
 /// <param name="propertySelects">contained-event selects in the from-clause</param>
 /// <param name="propertySelectsStreamName">stream name for contained-event selection</param>
 /// <param name="whereClause">where-expression or null</param>
 /// <returns>split-stream item</returns>
 public static OnInsertSplitStreamItem Create(
     InsertIntoClause insertInto,
     SelectClause selectClause,
     IList <ContainedEventSelect> propertySelects,
     string propertySelectsStreamName,
     Expression whereClause)
 {
     return(new OnInsertSplitStreamItem(insertInto, selectClause, propertySelects, propertySelectsStreamName, whereClause));
 }
Example #3
0
 /// <summary>
 /// Ctor.
 /// </summary>
 /// <param name="insertInto">the insert-into clause</param>
 /// <param name="selectClause">the select-clause</param>
 /// <param name="propertySelects">contained-event selections</param>
 /// <param name="propertySelectsStreamName">contained-event selection stream name</param>
 /// <param name="whereClause">where-expression or null</param>
 public OnInsertSplitStreamItem(
     InsertIntoClause insertInto,
     SelectClause selectClause,
     IList <ContainedEventSelect> propertySelects,
     string propertySelectsStreamName,
     Expression whereClause)
 {
     InsertInto                = insertInto;
     SelectClause              = selectClause;
     PropertySelects           = propertySelects;
     PropertySelectsStreamName = propertySelectsStreamName;
     WhereClause               = whereClause;
 }
Example #4
0
 /// <summary>
 /// Specify an insert-into-clause.
 /// </summary>
 /// <param name="insertInto">specifies the insert-into-clause, or null to indicate that the clause is absent</param>
 /// <returns>model</returns>
 public EPStatementObjectModel SetInsertInto(InsertIntoClause insertInto)
 {
     InsertInto = insertInto;
     return(this);
 }
Example #5
0
 /// <summary>
 /// Ctor.
 /// </summary>
 /// <param name="insertInto">the insert-into clause</param>
 /// <param name="selectClause">the select-clause</param>
 /// <param name="whereClause">where-expression or null</param>
 public OnInsertSplitStreamItem(InsertIntoClause insertInto, SelectClause selectClause, Expression whereClause)
 {
     InsertInto   = insertInto;
     SelectClause = selectClause;
     WhereClause  = whereClause;
 }
Example #6
0
 /// <summary>
 /// Ctor.
 /// </summary>
 /// <param name="insertInto">the insert-into clause</param>
 /// <param name="selectClause">the select-clause</param>
 /// <param name="whereClause">where-expression or null</param>
 public OnInsertSplitStreamItem(InsertIntoClause insertInto, SelectClause selectClause, Expression whereClause)
     : this(insertInto, selectClause, null, null, whereClause)
 {
 }