[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Assembly: NEsper (in NEsper.dll)
Match the views under the stream to the list of view specications passed in.
The method changes the view specifications list passed in and removes those
specifications for which matcing views have been found.
If none of the views under the stream matches the first view specification passed in,
the method returns the stream itself and leaves the view specification list unchanged.
If one view under the stream matches, the view's specification is removed from the list.
The method will then attempt to determine if any child views of that view also match
specifications.
Namespace: net.esper.view
Assembly: NEsper (in NEsper.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function MatchExistingViews ( _ rootViewable As Viewable, _ specificationRepository As IDictionary(Of View, ViewSpec), _ specifications As IList(Of ViewSpec) _ ) As Pair(Of Viewable, IList(Of View)) |
C# |
---|
public static Pair<Viewable, IList<View>> MatchExistingViews ( Viewable rootViewable, IDictionary<View, ViewSpec> specificationRepository, IList<ViewSpec> specifications ) |
Visual C++ |
---|
public: static Pair<Viewable^, IList<View^>^>^ MatchExistingViews ( Viewable^ rootViewable, IDictionary<View^, ViewSpec^>^ specificationRepository, IList<ViewSpec^>^ specifications ) |
Parameters
- rootViewable
- net.esper.view.Viewable
is the top rootViewable event stream to which all views are attached as child views
- specificationRepository
- System.Collections.Generic.IDictionary<(Of TKey, TValue>)
is a map of view and specification that enables view specification comparison
- specifications
- System.Collections.Generic.IList<(Of T>)
is the non-empty list of specifications describing the new chain of views to create. This parameter is changed by this method, ie. specifications are removed if they match existing views.