[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Window sorting by values in the specified field extending a specified number of elements from the lowest value up or the highest value down. The view accepts 3 parameters. The first parameter is the field name to get the values to sort for, the second parameter defines whether to sort ascending or descending, the third parameter is the number of elements to keep in the sorted list. The type of the field to be sorted in the event must implement the Comparable interface. The natural order in which events arrived is used as the second sorting criteria. Thus should events arrive with equal sort values the oldest event leaves the sort window first. Old values removed from a prior view are removed from the sort view.

Namespace: net.esper.view.ext
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Public NotInheritable Class SortWindowView _
	Inherits ViewSupport _
	Implements DataWindowView, View, Viewable, EventCollection, IEnumerable(Of EventBean), IEnumerable
C#
public sealed class SortWindowView : ViewSupport, DataWindowView, View, Viewable, EventCollection, IEnumerable<EventBean>, IEnumerable
Visual C++
public ref class SortWindowView sealed : public ViewSupport, DataWindowView, View, Viewable, EventCollection, IEnumerable<EventBean^>, IEnumerable

Inheritance Hierarchy

System.Object
  net.esper.view.ViewSupport
    net.esper.view.ext.SortWindowView