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

The SimpleMapIndex type exposes the following members.

Constructors

  NameDescription
SimpleMapIndex
Construct an index.

Methods

  NameDescription
addInverseMapping
Delete
Update this index in response to a remove operation on a cache.
EntryDeleted
Invoked when a cache entry has been deleted.
EntryInserted
Invoked when a cache entry has been inserted.
EntryUpdated
Invoked when a cache entry has been updated.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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.)
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.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Insert
Update this index in response to a insert operation on a cache.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
removeInverseMapping
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Update
Update this index in response to a update operation on a cache.

Fields

  NameDescription
m_comparer
Comparer used to sort the index. Used iff the Ordered is true. Could be null, which implicates a natural order.
m_fSplitCollection
If a value extracted by the ValueExtractor is a Collection, this property specifies whether or not it should be treated as a collection of contained attributes or indexed as a single composite attribute.
m_mapForward
Map that contains the index values (forward index). The keys of the Map are the keys to the ResourceMap and the values are the extracted values. This map is used by the IndexAwareFilters to avoid a conversion and value extraction steps.
m_mapInverse
Map that contains the index contents (inverse index). The keys of the Map are the return values from the ValueExtractor operating against the values of the resource map, and for each key, the corresponding value stored in the Map is a Set of keys to the resource map.
m_ordered
Specifies whether or not this MapIndex orders the contents of the indexed information.
m_valueExtractor
ValueExtractor object that this MapIndex uses to extract an indexable Object from a [converted] value stored in the Storage.

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