Click or drag to resize

ComparisonFilter Class

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
IFilter which compares the result of a member invocation with a value.
Inheritance Hierarchy
SystemObject
  Tangosol.Util.FilterExtractorFilter
    Tangosol.Util.FilterComparisonFilter
      More...

Namespace:  Tangosol.Util.Filter
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public abstract class ComparisonFilter : ExtractorFilter

The ComparisonFilter type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyValue
Gets the object to compare the extraction result with.
Public propertyValueExtractor
Obtain the IValueExtractor used by this filter.
(Inherited from ExtractorFilter.)
Top
Methods
  NameDescription
Public methodStatic memberCalculateIteratorEffectiveness
Helper method to calculate effectiveness (or rather ineffectiveness) of a simple iteration against a key set that has to be performed due to an absence of corresponding index.
Protected methodCalculateMatchEffectiveness
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.
Protected methodCalculateRangeEffectiveness
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.
Public methodEquals
Compare the ComparisonFilter with another object to determine equality.
(Overrides ObjectEquals(Object).)
Public methodEvaluate
Apply the test to the object.
(Inherited from ExtractorFilter.)
Public methodEvaluateEntry
Apply the test to an ICacheEntry.
(Inherited from ExtractorFilter.)
Protected methodEvaluateExtracted
Evaluate the specified extracted value.
(Inherited from ExtractorFilter.)
Protected methodExtract
Gets the result of IValueExtractor invocation.
(Inherited from ExtractorFilter.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Determine a hash value for the ComparisonFilter object according to the general object.GetHashCode() contract.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadExternal
Restore the contents of a user type instance by reading its state using the specified IPofReader object.
(Overrides ExtractorFilterReadExternal(IPofReader).)
Public methodToString
Return a human-readable description for this ComparisonFilter.
(Overrides ObjectToString.)
Public methodWriteExternal
Save the contents of a POF user type instance by writing its state using the specified IPofWriter object.
(Overrides ExtractorFilterWriteExternal(IPofWriter).)
Top
Fields
  NameDescription
Protected fieldm_extractor
The ValueExtractor used by this filter.
(Inherited from ExtractorFilter.)
Protected fieldm_value
The value to compare to.
Top
See Also
Inheritance Hierarchy
SystemObject
  Tangosol.Util.FilterExtractorFilter
    Tangosol.Util.FilterComparisonFilter
      Tangosol.Util.FilterContainsAllFilter
      Tangosol.Util.FilterContainsAnyFilter
      Tangosol.Util.FilterContainsFilter
      Tangosol.Util.FilterEqualsFilter
      Tangosol.Util.FilterGreaterEqualsFilter
      Tangosol.Util.FilterGreaterFilter
      Tangosol.Util.FilterInFilter
      Tangosol.Util.FilterLessEqualsFilter
      Tangosol.Util.FilterLessFilter
      Tangosol.Util.FilterLikeFilter
      Tangosol.Util.FilterNotEqualsFilter