ComparisonFilterCalculateMatchEffectiveness Method |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-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: 14.1.1.14 (14.1.1.14)
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