[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.

The following tables list the members exposed by the SortWindowView type.

Public Properties

  NameDescription
EventType
Provides metadata information about the type of object the event collection contains.
(Overrides .EventType.)
HasViews
Test is there are any views to the Viewable.
(Inherited from ViewSupport.)
Id
Gets the unique id for the view
(Inherited from ViewSupport.)
IsDescendingValues
Gets or sets the flags indicating whether to sort in descending order on each property.

Parent
Gets or sets the View's parent Viewable.
(Overrides .Parent.)
SortFieldNames
Gets or sets the field names supplying the values to sort by.

SortWindowSize
Gets or sets the number of elements kept by the sort window.