Share via


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

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.

See Also

Reference

CepTimeSensitiveAggregate<TInput, TOutput> Class

Microsoft.ComplexEventProcessing.Extensibility Namespace