Return only the top N results according to the order definition.
A continuous query will remove a row when it has added a new row to
keep the total result set no larger than N.
Namespace: StreamBase.LiveView.APIAssembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 2.2.2.4176 (2.2.2.4176)
Syntax
C# | Visual Basic | Visual C++ |
public void SetTopN( OrderDefinition orderdef, int size )
Public Sub SetTopN ( _ orderdef As OrderDefinition, _ size As Integer _ )
public: void SetTopN( OrderDefinition^ orderdef, int size )
Parameters
- orderdef
- OrderDefinition
the ordering to apply to the result set before taking the top N results.
- size
- Int32
the number of rows to include in the result set.