Oracle® Coherence Java API Reference
v3.5

E14977-01

com.tangosol.util
Interface QueryMap.Entry

All Superinterfaces:
java.util.Map.Entry
All Known Subinterfaces:
BinaryEntry, InvocableMap.Entry, MapTrigger.Entry
All Known Implementing Classes:
InvocableMapHelper.SimpleEntry
Enclosing interface:
QueryMap

public static interface QueryMap.Entry
extends java.util.Map.Entry

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

Since:
Coherence 3.2

Method Summary
 java.lang.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

java.lang.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

Oracle® Coherence Java API Reference
v3.5

E14977-01

Copyright © 2000, 2009, Oracle. All rights reserved.