CepStream<TPayload> Class

 

Represents a stream of events from any user specified payload type.

Namespace:   Microsoft.ComplexEventProcessing.Linq
Assembly:  Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)

System.Object
  Microsoft.ComplexEventProcessing.Linq.CepStream<TPayload>

public sealed class CepStream<TPayload>

Type Parameters

TPayload

The payload type of the event in the stream.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreate(Application, String, Type, Object, EventShape)

Creates a bound stream from a given input adapter factory.

System_CAPS_pubmethodSystem_CAPS_staticCreate(Application, String, Type, Object, EventShape, AdvanceTimeSettings)

Creates a bound stream from a given input adapter factory.

System_CAPS_pubmethodSystem_CAPS_staticCreate(Application, Uri, EventShape)

Creates a bound stream over an input from a given published stream.

System_CAPS_pubmethodSystem_CAPS_staticCreate(Application, Uri, EventShape, AdvanceTimeSettings)

Creates a bound stream for input from a given published stream.

System_CAPS_pubmethodSystem_CAPS_staticCreate(String)

Creates an unbound stream with event payload of type 'TPayload'.

System_CAPS_pubmethodSystem_CAPS_staticCreate(String, Type, Object, EventShape)

Creates a bound stream from a given input adapter factory.

System_CAPS_pubmethodSystem_CAPS_staticCreate(String, Type, Object, EventShape, AdvanceTimeSettings)

Creates a bound stream from a given input adapter factory.

System_CAPS_pubmethodSystem_CAPS_staticCreate(Uri, EventShape)

Creates a bound stream over an input from a given published stream.

System_CAPS_pubmethodSystem_CAPS_staticCreate(Uri, EventShape, AdvanceTimeSettings)

Creates a bound stream for input from a given published stream.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExtractInputStreams()

Retrieves a list with information about input streams from a given stream definition.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToPublishedStreamQuery(Uri, Application, String, String, EventShape, StreamEventOrder)

Creates a query with an output bound to an explicitly named published stream. The output of the query can be consumed through dynamic query composition. Only one query can produce events for a published stream at any given time.

System_CAPS_pubmethodToPublishedStreamQuery(Uri, String, String, EventShape, StreamEventOrder)

Creates a query with an output bound to an explicitly named published stream. The output of the query can be consumed through dynamic query composition. Only one query can produce events for a published stream at any given time.

System_CAPS_pubmethodToQuery(Application, String, String, EventShape, StreamEventOrder)

Creates a query from the stream with an unbound output running in the specified application. All inputs to the query must be bound to adapters, sequences or other queries. The output of the query can be consumed through dynamic query composition only.

System_CAPS_pubmethodToQuery(Application, String, String, Type, Object, EventShape, StreamEventOrder)

Creates a query from the stream bound to an output adapter running in the specified application. The output adapter is specified by the type of the adapter factory and the configuration object.

System_CAPS_pubmethodToQuery(Application, String, String, Type, Object, EventShape, StreamEventOrder, Boolean)

Creates a query from the stream bound to an output adapter running in the specified application. The output adapter is specified by the type of the adapter factory and the configuration object. The query can be specified to be resilient.

System_CAPS_pubmethodToQuery(String, String, EventShape, StreamEventOrder)

Creates a query from the stream with an unbound output. All inputs to the query must be bound to adapters, sequences or other queries. The output of the query can be consumed through dynamic query composition only. The application this query will run in is implied by the definition of the stream.

System_CAPS_pubmethodToQuery(String, String, Type, Object, EventShape, StreamEventOrder)

Creates a query from the stream bound to an output adapter. The output adapter is specified by the type of the adapter factory and the configuration object. The application this query will run in is implied by the definition of the stream.

System_CAPS_pubmethodToQuery(String, String, Type, Object, EventShape, StreamEventOrder, Boolean)

Creates a query from the stream bound to an output adapter. The output adapter is specified by the type of the adapter factory and the configuration object. The application this query will run in is implied by the definition of the stream. The query can be specified to be resilient.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubmethodAlterEventDuration<TPayload>(Expression<Func<CepEvent<TPayload>, TimeSpan>>)

Changes the duration of the input events. This method does not change the start time of an event.(Defined by CepStream.)

System_CAPS_pubmethodAlterEventLifetime<TPayload>(Expression<Func<CepEvent, DateTime>>, Expression<Func<CepEvent<TPayload>, TimeSpan>>)

Alters the lifetime of the events in the stream. This method can change both the start time and end time of an event.(Defined by CepStream.)

System_CAPS_pubmethodClipEventDuration<TSource, TClip>(CepStream<TClip>, Expression<Func<TSource, TClip, Boolean>>)

Shortens the lifetime of events in sourceStream to the start time of the next corresponding event in clipStream, matched by matchExpression. (Defined by CepStream.)

System_CAPS_pubmethodCountByStartTimeWindow<TPayload>(UInt32)

Overloaded. Groups input stream events into windows of events based on a given number of unique event start times using the default output policy. The window slides when a new event arrives that starts at a different time.(Defined by CepStream.)

System_CAPS_pubmethodCountByStartTimeWindow<TPayload>(UInt32, CountWindowOutputPolicy)

Overloaded. Groups input stream events into windows of events based on a given number of unique event start times. The window slides when a new event arrives that starts at a different time.(Defined by CepStream.)

System_CAPS_pubmethodCountByStartTimeWindow<TPayload>(UInt32, WindowInputPolicy, CountWindowOutputPolicy)

Overloaded. Groups input stream events into windows of events based on a given number of unique event start times. The window slides when a new event arrives that starts at a different time.(Defined by CepStream.)

System_CAPS_pubmethodGroupBy<TPayload, TGroupingKey>(Expression<Func<TPayload, TGroupingKey>>)

Overloaded. Partitions the input stream by the specified grouping key.(Defined by CepStream.)

System_CAPS_pubmethodGroupBy<TPayload, TGroupingKey, TResult>(Expression<Func<TPayload, TGroupingKey>>, Expression<Func<TPayload, TResult>>)

Overloaded. Groups the source stream by the specified key selector functions and projects results using the element selector function.(Defined by CepStream.)

System_CAPS_pubmethodHoppingWindow<TPayload>(TimeSpan, TimeSpan)

Overloaded. Transforms a stream to a window stream where each member is a CepWindow using the default output policy.(Defined by CepStream.)

System_CAPS_pubmethodHoppingWindow<TPayload>(TimeSpan, TimeSpan, DateTime)

Overloaded. Transforms a stream to a window stream where each member is a CepWindow using the default output policy.(Defined by CepStream.)

System_CAPS_pubmethodHoppingWindow<TPayload>(TimeSpan, TimeSpan, DateTime, HoppingWindowOutputPolicy)

Overloaded. Transforms a stream to a window stream where each member is a CepWindow.(Defined by CepStream.)

System_CAPS_pubmethodHoppingWindow<TPayload>(TimeSpan, TimeSpan, DateTime, WindowInputPolicy, HoppingWindowOutputPolicy)

Overloaded. The window is defined by constant window size and hop size timespans.(Defined by CepStream.)

System_CAPS_pubmethodHoppingWindow<TPayload>(TimeSpan, TimeSpan, HoppingWindowOutputPolicy)

Overloaded. Transforms a stream to a window stream where each member is a CepWindow using the default output policy.(Defined by CepStream.)

System_CAPS_pubmethodHoppingWindow<TPayload>(TimeSpan, TimeSpan, WindowInputPolicy, HoppingWindowOutputPolicy)

Overloaded. Transforms a stream to a window stream where each member is a CepWindow using the default output policy.(Defined by CepStream.)

System_CAPS_pubmethodIsEmpty<TPayload>()

Performs a left anti-semi-join (LASJ) query on the specified stream.(Defined by CepStream.)

System_CAPS_pubmethodJoin<TOuter, TInner, TKey, TResult>(CepStream<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter, TInner, TResult>>)

Joins the events from the outer stream with events from the inner stream on the given join key.(Defined by CepStream.)

System_CAPS_pubmethodSelect<TPayload, TResult>(Expression<Func<TPayload, TResult>>)

Overloaded. Projects events from input stream using a projections expression.(Defined by CepStream.)

System_CAPS_pubmethodSelectMany<TInput, TBind, TResult>(Expression<Func<CepStream<TInput>, CepStream<TBind>>>, Expression<Func<TInput, TBind, TResult>>)

Overloaded. Produces a stream based on the cross join of two input streams. (Defined by CepStream.)

System_CAPS_pubmethodShiftEventTime<TPayload>(Expression<Func<CepEvent, DateTime>>)

Overloaded. Shift event times to the value specified by the shiftExpr parameter. The method does not change event life times. (Defined by CepStream.)

System_CAPS_pubmethodShiftEventTime<TPayload>(Expression<Func<CepEvent, TimeSpan>>)

Overloaded. Shift event times by the amount specified by the shiftExpr parameter. The value returned may be positive or negative. (Defined by CepStream.)

System_CAPS_pubmethodSnapshotWindow<TPayload>()

Overloaded. Transforms a stream to a window stream where each member is a CepWindow using the default output policy.(Defined by CepStream.)

System_CAPS_pubmethodSnapshotWindow<TPayload>(SnapshotWindowOutputPolicy)

Overloaded. Transforms a stream to a window stream where each member is a CepWindow.(Defined by CepStream.)

System_CAPS_pubmethodSnapshotWindow<TPayload>(WindowInputPolicy, SnapshotWindowOutputPolicy)

Overloaded. Transforms a stream to a window stream where each member is a CepWindow.(Defined by CepStream.)

System_CAPS_pubmethodToEdgeEnumerable<TPayload>()

Overloaded. Converts a CepStream of edge events to an event sink that implements the IEnumerable interface.(Defined by CepStream.)

System_CAPS_pubmethodToEdgeEnumerable<TPayload>(StreamEventOrder)

Overloaded. Converts a CepStream of edge events to an event sink that implements the IEnumerable interface.(Defined by CepStream.)

System_CAPS_pubmethodToEdgeObservable<TPayload>()

Overloaded. Converts a CepStream of edge events to an event sink that implements the IObservable interface. The order of events is FullyOrdered.(Defined by ObservableCepStream.)

System_CAPS_pubmethodToEdgeObservable<TPayload>(StreamEventOrder)

Overloaded. Converts a CepStream of edge events with the specified event order to an event sink that implements the IObservable interface.(Defined by ObservableCepStream.)

System_CAPS_pubmethodToEnumerable<TPayload>()

Overloaded. Converts a stream of events to enumerable output by removing event headers and discarding CTI events.(Defined by CepStream.)

System_CAPS_pubmethodToEnumerable<TPayload>(StreamEventOrder)

Overloaded. Converts a stream of events to enumerable output with the specified event order by removing event headers and discarding CTI events.(Defined by CepStream.)

System_CAPS_pubmethodToIntervalEnumerable<TPayload>()

Overloaded. Converts a CepStream of interval events to an event sink that implements the IEnumerable interface. The order of events is FullyOrdered.(Defined by CepStream.)

System_CAPS_pubmethodToIntervalEnumerable<TPayload>(StreamEventOrder)

Overloaded. Converts a CepStream of interval events with the specified event order to an event sink that implements the IEnumerable interface.(Defined by CepStream.)

System_CAPS_pubmethodToIntervalObservable<TPayload>()

Overloaded. Converts a CepStream of interval events to an event sink that implements the IObservable interface. The order of events is FullyOrdered.(Defined by ObservableCepStream.)

System_CAPS_pubmethodToIntervalObservable<TPayload>(StreamEventOrder)

Overloaded. Converts a CepStream of interval events with the specified event order to an event sink that implements the IObservable interface.(Defined by ObservableCepStream.)

System_CAPS_pubmethodToObservable<TPayload>()

Overloaded. Converts a stream of events to observable output by removing event headers and discarding CTI events.(Defined by ObservableCepStream.)

System_CAPS_pubmethodToObservable<TPayload>(StreamEventOrder)

Overloaded. Converts a stream of events to observable output with the specified event order by removing event headers and discarding CTI events.(Defined by ObservableCepStream.)

System_CAPS_pubmethodToPointEnumerable<TPayload>()

Overloaded. Converts a CepStream of point events to an event sink that implements the IEnumerable interface. The order of events is FullyOrdered.(Defined by CepStream.)

System_CAPS_pubmethodToPointEnumerable<TPayload>(StreamEventOrder)

Overloaded. Converts a CepStream of point events with the specified event order to an event sink that implements the IEnumerable interface.(Defined by CepStream.)

System_CAPS_pubmethodToPointEventStream<TPayload>()

Changes the events in an input stream to point events by keeping only the event start times.(Defined by CepStream.)

System_CAPS_pubmethodToPointObservable<TPayload>()

Overloaded. Converts a CepStream of point events to an event sink that implements the IObservable interface. The order of events is FullyOrdered.(Defined by ObservableCepStream.)

System_CAPS_pubmethodToPointObservable<TPayload>(StreamEventOrder)

Overloaded. Converts a CepStream of point events with the specified event order to an event sink that implements the IObservable interface.(Defined by ObservableCepStream.)

System_CAPS_pubmethodTumblingWindow<TPayload>(TimeSpan)

Overloaded. Transforms a stream to a window stream where each member is a CepWindow using the default output policy.(Defined by CepStream.)

System_CAPS_pubmethodTumblingWindow<TPayload>(TimeSpan, DateTime)

Overloaded. Transforms a stream to a window stream where each member is a CepWindow using the default output policy.(Defined by CepStream.)

System_CAPS_pubmethodTumblingWindow<TPayload>(TimeSpan, DateTime, HoppingWindowOutputPolicy)

Overloaded. Transforms a stream to a window stream where each member is a CepWindow.(Defined by CepStream.)

System_CAPS_pubmethodTumblingWindow<TPayload>(TimeSpan, DateTime, WindowInputPolicy, HoppingWindowOutputPolicy)

Overloaded. Transforms a stream to a window stream where each member is a CepWindow.(Defined by CepStream.)

System_CAPS_pubmethodTumblingWindow<TPayload>(TimeSpan, HoppingWindowOutputPolicy)

Overloaded. Transforms a stream to a window stream where each member is a CepWindow.(Defined by CepStream.)

System_CAPS_pubmethodTumblingWindow<TPayload>(TimeSpan, WindowInputPolicy, HoppingWindowOutputPolicy)

Overloaded. Transforms a stream to a window stream where each member is a CepWindow.(Defined by CepStream.)

System_CAPS_pubmethodUnion<TPayload>(CepStream<TPayload>)

Unions two streams together into one stream.(Defined by CepStream.)

System_CAPS_pubmethodWhere<TPayload>(Expression<Func<TPayload, Boolean>>)

Overloaded. Filters events from an input stream using a given filter function.(Defined by CepStream.)

Before you can write a CEP query, you must provide the appropriate stream definition. This class provides various methods to create a CepStream object.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: