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

Find an index that matches one of the filter parameters passed. The parameter type and index type match up if the property name and filter operator are the same for the index and the filter parameter. For instance, for a filter parameter of "count EQUALS 10", the index against property "count" with operator type EQUALS will be returned, if present. NOTE: The caller is expected to obtain locks, if necessary, on the collections passed in.

Namespace: net.esper.filter
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function FindIndex ( _
	parameters As ETreeSet(Of FilterValueSetParam), _
	indizes As IList(Of FilterParamIndex) _
) As Pair(Of FilterValueSetParam, FilterParamIndex)
C#
public static Pair<FilterValueSetParam, FilterParamIndex> FindIndex (
	ETreeSet<FilterValueSetParam> parameters,
	IList<FilterParamIndex> indizes
)
Visual C++
public:
static Pair<FilterValueSetParam^, FilterParamIndex^>^ FindIndex (
	ETreeSet<FilterValueSetParam^>^ parameters, 
	IList<FilterParamIndex^>^ indizes
)

Parameters

parameters
net.esper.compat.ETreeSet<(Of T>)
is the list of sorted filter parameters
indizes
System.Collections.Generic.IList<(Of T>)
is the collection of indexes

Return Value

A matching pair of filter parameter and index, if any matches were found. Null if no matches were found.