CepTimeSensitiveAggregate<TInput, TOutput>.GenerateOutput Method
Generates a single scalar value as a result of the aggregate computation over a collection of input events.
Namespace: Microsoft.ComplexEventProcessing.Extensibility
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
public abstract TOutput GenerateOutput(
IEnumerable<IntervalEvent<TInput>> events,
WindowDescriptor windowDescriptor
)
Parameters
- events
Type: System.Collections.Generic.IEnumerable<IntervalEvent<TInput>>
Collection of input events.
- windowDescriptor
Type: Microsoft.ComplexEventProcessing.Extensibility.WindowDescriptor
Window descriptor of the window that contains the input events.
Return Value
Type: TOutput
Scalar result of the aggregation.
Remarks
A time-sensitive aggregate receives a collection of whole events with timestamps, so that the computation can take the temporal properties of the events (as well as the window size) into account.
The collection of input events is unordered.