Click or drag to resize

KeyFilter Class

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
EntryFilter which checks whether an entry key belongs to a set.
Inheritance Hierarchy
System.Object
  Tangosol.Util.Filter.KeyFilter

Namespace:  Tangosol.Util.Filter
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public class KeyFilter : IIndexAwareFilter, IEntryFilter, 
	IFilter

The KeyFilter type exposes the following members.

Constructors
  NameDescription
Public methodKeyFilter
Construct a key filter.
Top
Methods
  NameDescription
Public methodApplyIndex
Filter remaining keys using an IDictionary of available indexes.
Public methodCalculateEffectiveness
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.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluate
Apply the test to the object.
Public methodEvaluateEntry
Apply the test to an ICacheEntry.
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
Serves as the default hash function.
(Inherited from Object.)
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 methodToString
Return a human-readable description for this KeyAssociatedFilter.
(Overrides Object.ToString().)
Top
Remarks
Note: this filter is not serializable and intended to be used only internally by other composite filters to reduce the remaining key set. As of Coherence 3.2, an equivalent functionality could be achieved using the InFilter as follows:
              new InFilter(new KeyExtractor(IdentityExtractor.INSTANCE), setKeys);
            
See Also