Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
ComparisonFilter..::.CalculateMatchEffectiveness Method
ComparisonFilter Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-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: 3.6.1.0 (3.6.1.0)

# 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

ComparisonFilter Class
Tangosol.Util.Filter Namespace