CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation

com.tangosol.util
Interface QueryMap.Entry

All Superinterfaces:
Map.Entry
All Known Subinterfaces:
InvocableMap.Entry
All Known Implementing Classes:
InvocableMapHelper.SimpleEntry
Enclosing interface:
QueryMap

public static interface QueryMap.Entry
extends Map.Entry

A QueryMap Entry exposes additional index-related operation that the basic Map Entry does not.

Since:
Coherence 3.2

Method Summary
 Object extract(ValueExtractor extractor)
          Extract a value out of the Entry's value.
 
Methods inherited from interface java.util.Map.Entry
equals, getKey, getValue, hashCode, setValue
 

Method Detail

extract

Object extract(ValueExtractor extractor)
Extract a value out of the Entry's value. Calling this method is semantically equivalent to extractor.extract(entry.getValue()), but this method may be significantly less expensive. For example, the resultant value may be obtained from a forward index, avoiding a potential object de-serialization.

Parameters:
extractor - a ValueExtractor to apply to the Entry's value
Returns:
the extracted value

CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation