CepStream.Take Method

Include Protected Members
Include Inherited Members

Returns a specified number of events from the start of a stream.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member Take<TPayload>(CepOrderedStream<TPayload>, UInt32) Given an ordered stream, takes a given number of events from each window.
Public methodStatic member Take<TInput, TResult>(CepOrderedStream<TInput>, UInt32, Expression<Func<CepRankedEvent<TInput>, TResult>>) Takes a given number of events from each window and also evaluates the given expression. This is used for cases in which you want to project the rank into the result of Take().

Top

Remarks

For more information, see TopK.

See Also

Reference

CepStream Class

Microsoft.ComplexEventProcessing.Linq Namespace