CepStream.CountByStartTimeWindow<TPayload> 方法 (CepStream<TPayload>, UInt32)

 

使用預設輸出原則,根據給定的唯一事件啟動次數,將輸入資料流事件分組到事件的視窗。 當在不同時間啟動的新事件抵達時,此視窗會滑動。

命名空間:   Microsoft.ComplexEventProcessing.Linq
組件:  Microsoft.ComplexEventProcessing (在 Microsoft.ComplexEventProcessing.dll 中)

語法

public static CepWindowStream<CepWindow<TPayload>> CountByStartTimeWindow<TPayload>(
    this CepStream<TPayload> source,
    uint numberOfEventStartTime
)
public:
generic<typename TPayload>
[ExtensionAttribute]
static CepWindowStream<CepWindow<TPayload>^>^ CountByStartTimeWindow(
    CepStream<TPayload>^ source,
    unsigned int numberOfEventStartTime
)
static member CountByStartTimeWindow<'TPayload> : 
        source:CepStream<'TPayload> *
        numberOfEventStartTime:uint32 -> CepWindowStream<CepWindow<'TPayload>>
<ExtensionAttribute>
Public Shared Function CountByStartTimeWindow(Of TPayload) (
    source As CepStream(Of TPayload),
    numberOfEventStartTime As UInteger
) As CepWindowStream(Of CepWindow(Of TPayload))

參數

  • source
    要對其套用視窗作業的 CepStream。
  • numberOfEventStartTime
    依據唯一事件開始時間數目的視窗大小。

傳回值

Type: Microsoft.ComplexEventProcessing.Linq.CepWindowStream<CepWindow<TPayload>>

可以對其套用彙總、排名或使用者定義作業的視窗資料流。

類型參數

  • TPayload
    輸入事件裝載的類型。

請參閱

CountByStartTimeWindow 超載
CepStream 類別
Microsoft.ComplexEventProcessing.Linq 命名空間

回到頁首