ComparisonFilter Class |
Namespace: Tangosol.Util.Filter
public abstract class ComparisonFilter : ExtractorFilter
The ComparisonFilter type exposes the following members.
| Name | Description | |
|---|---|---|
| ComparisonFilter |
Default constructor.
| |
| ComparisonFilter(String, Object) |
Construct a ComparisonFilter.
| |
| ComparisonFilter(IValueExtractor, Object) |
Construct a ComparisonFilter.
|
| Name | Description | |
|---|---|---|
| Value |
Gets the object to compare the extraction result with.
| |
| ValueExtractor |
Obtain the IValueExtractor used by this filter.
(Inherited from ExtractorFilter.) |
| Name | Description | |
|---|---|---|
| CalculateIteratorEffectiveness |
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.
| |
| 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.
| |
| 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.
| |
| Equals |
Compare the ComparisonFilter with another object to
determine equality.
(Overrides ObjectEquals(Object).) | |
| 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.
(Inherited from ExtractorFilter.) | |
| Extract |
Gets the result of IValueExtractor invocation.
(Inherited from ExtractorFilter.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode |
Determine a hash value for the ComparisonFilter object
according to the general object.GetHashCode() contract.
(Overrides ObjectGetHashCode.) | |
| 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.
(Overrides ExtractorFilterReadExternal(IPofReader).) | |
| ToString |
Return a human-readable description for this
ComparisonFilter.
(Overrides ObjectToString.) | |
| WriteExternal |
Save the contents of a POF user type instance by writing its
state using the specified IPofWriter object.
(Overrides ExtractorFilterWriteExternal(IPofWriter).) |
| Name | Description | |
|---|---|---|
| m_extractor |
The ValueExtractor used by this filter.
(Inherited from ExtractorFilter.) | |
| m_value |
The value to compare to.
|