CepAggregate<TInput, TOutput>.GenerateOutput Method
Generates a single scalar value as a result of the aggregate computation over a collection of input event payloads.
Namespace: Microsoft.ComplexEventProcessing.Extensibility
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
public abstract TOutput GenerateOutput(
IEnumerable<TInput> payloads
)
Parameters
- payloads
Type: System.Collections.Generic.IEnumerable<TInput>
Collection of input event payloads.
Return Value
Type: TOutput
Scalar result of the aggregation.
Remarks
A time-insensitive aggregate only receives a collection of payloads, as opposed to a collection of whole events with timestamps. The framework will apply the window size as the default output event lifetime to the result, before the output policy specified in the query can modify that default.
The collection of input event payloads is unordered.