ComparisonFilterCalculateMatchEffectiveness Method |
.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
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: 14.1.1.1 (14.1.1.1)
Syntaxprotected int CalculateMatchEffectiveness(
IDictionary indexes,
ICollection keys
)
Parameters
- indexes
- Type: System.CollectionsIDictionary
The available MapIndex objects keyed by the related IValueExtractor;
read-only
- keys
- Type: System.CollectionsICollection
The set of keys that will be filtered; read-only
Return Value
Type:
Int32
An effectiveness estimate of how well this filter can use the
specified indexes to filter the specified keys
See Also