Oracle Coherence for C++ API


QueryMap::Entry Class Reference

#include <coherence/util/QueryMap.hpp>

List of all members.

Detailed Description

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

Public Types

typedef spec::Handle Handle
 Entry Handle definition.
typedef spec::View View
 Entry View definition.
typedef spec::Holder Holder
 Entry Holder definition.

Public Member Functions

virtual Object::Holder extract (ValueExtractor::View vExtractor) const =0
 Extract a value out of the Entry's value.

Member Function Documentation

virtual Object::Holder extract ( ValueExtractor::View  vExtractor  )  const [pure virtual]

Extract a value out of the Entry's value.

Calling this method is semantically equivalent to vExtractor->extract(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.

vExtractor a ValueExtractor to apply to the Entry's value
the extracted value

The documentation for this class was generated from the following file:
Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.