Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Helper method to calculate effectiveness for ComparisonFilters that need no more than a single index match in order to retrieve all necessary keys to perform the applyIndex() operation. Such filters are: Contains, Equals, NotEquals.

Namespace: Tangosol.Util.Filter
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
protected int CalculateMatchEffectiveness(
	IDictionary indexes,
	ICollection keys
)

Parameters

indexes
Type: System.Collections..::..IDictionary
The available MapIndex objects keyed by the related IValueExtractor; read-only
keys
Type: System.Collections..::..ICollection
The set of keys that will be filtered; read-only

Return Value

An effectiveness estimate of how well this filter can use the specified indexes to filter the specified keys

See Also