GenerateOutput 方法
生成单个标量值,作为对输入事件的集合进行聚合计算的结果。
命名空间: Microsoft.ComplexEventProcessing.Extensibility
程序集: Microsoft.ComplexEventProcessing(在 Microsoft.ComplexEventProcessing.dll 中)
语法
public abstract TOutput GenerateOutput(
IEnumerable<IntervalEvent<TInput>> events,
WindowDescriptor windowDescriptor
)
参数
- events
类型:System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'IntervalEvent< (Of < ( <'TInput> ) > ) >> ) > ) >
输入事件的集合。
- windowDescriptor
类型:Microsoft.ComplexEventProcessing.Extensibility. . :: . .WindowDescriptor
包含输入事件的窗口的窗口描述符。
返回值
类型:TOutput
聚合的标量结果。
注释
与时间有关的聚合接收带有时间戳的所有事件的集合,这样计算可以考虑事件的时间属性(以及窗口大小)。
输入事件的集合不排序。
请参阅
参考
CepTimeSensitiveAggregate< (Of < ( <'TInput, TOutput> ) > ) > 类