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

The IMapIndex type exposes the following members.

Methods

  NameDescription
Delete
Update this index in response to a remove operation on a cache.
Get
Using the index information if possible, get the value associated with the specified key. This is expected to be more efficient than using the IValueExtractor against an object containing the value, because the index should already have the necessary information at hand.
Insert
Update this index in response to a insert operation on a cache.
Update
Update this index in response to a update operation on a cache.

Properties

  NameDescription
Comparer
The Comparer used to sort the index.
IndexContents
Get the IDictionary that contains the index contents. The keys of the IDictionary are the return values from the IValueExtractor operating against the indexed IDictionary's values, and for each key, the corresponding value stored in the IDictionary is an ISet of keys to the indexed Dictionary. If the IMapIndex is known to be ordered, then the returned IDictionary object will be an instance of SortedList. The SortedList may or may not have an IComparer object associated with it. A client should assume that the returned IDictionary object is read-only and must not attempt to modify it.
IsOrdered
Determine if the IMapIndex orders the contents of the indexed information. To determine in which way the contents are ordered, get the Comparer from the index contents SortedList object.
ValueExtractor
Obtain the ValueExtractor object that the IMapIndex uses to extract an indexable Object from a value stored in the indexed Dictionary. This property is never null.

See Also