Oracle® Coherence .NET API Reference Release 3.6
E15727-01

The LessFilter type exposes the following members.

Methods

  NameDescription
ApplyIndex
Filter remaining keys using an IDictionary of available indexes. The filter is responsible for removing all keys from the passed set of keys that the applicable indexes can prove should be filtered. If the filter does not fully evaluate the remaining keys using just the index information, it must return a filter that can complete the task using an iterating implementation. If, on the other hand, the filter does fully evaluate the remaining keys using just the index information, then it should return null to indicate that no further filtering is necessary.
CalculateEffectiveness
Given an IDictionary of available indexes, determine if this IIndexAwareFilter can use any of the indexes to assist in its processing, and if so, determine how effective the use of that index would be. The returned value is an effectiveness estimate of how well this filter can use the specified indexes to filter the specified keys. An operation that requires no more than a single access to the index content (i.e. Equals, NotEquals) has an effectiveness of one. Evaluation of a single entry is assumed to have an effectiveness that depends on the index implementation and is usually measured as a constant number of the single operations. This number is referred to as evaluation cost. If the effectiveness of a filter evaluates to a number larger than the keys.size() then a user could avoid using the index and iterate through the keys calling evaluate rather than applyIndex.
CalculateMatchEffectiveness
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.
(Inherited from ComparisonFilter.)
CalculateRangeEffectiveness
Helper method to calculate effectiveness for ComparisonFilters that need a range of values from an index in order to retrieve all necessary keys to perform the applyIndex() operation. Such filters are: Less, LessEquals, Greater, GreaterEquals.
(Inherited from ComparisonFilter.)
Equals
Compare the ComparisonFilter with another object to determine equality.
(Inherited from ComparisonFilter.)
Evaluate
Apply the test to the object.
(Inherited from ExtractorFilter.)
EvaluateEntry
Apply the test to an ICacheEntry.
(Inherited from ExtractorFilter.)
EvaluateExtracted
Evaluate the specified extracted value.
(Overrides ExtractorFilter..::.EvaluateExtracted(Object).)
Extract
Gets the result of IValueExtractor invocation.
(Inherited from ExtractorFilter.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Determine a hash value for the ComparisonFilter object according to the general object.GetHashCode() contract.
(Inherited from ComparisonFilter.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ReadExternal
Restore the contents of a user type instance by reading its state using the specified IPofReader object.
(Inherited from ComparisonFilter.)
ToString
Return a human-readable description for this ComparisonFilter.
(Inherited from ComparisonFilter.)
WriteExternal
Save the contents of a POF user type instance by writing its state using the specified IPofWriter object.
(Inherited from ComparisonFilter.)

See Also