Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.2.1.1.0)

E69640-01

ConditionalExtractor Class Reference

#include <coherence/util/extractor/ConditionalExtractor.hpp>

Inherits AbstractExtractor.

List of all members.


Detailed Description

An IndexAwareExtractor implementation that is only used to create a coherence::util::ConditionalIndex.

Note: the underlying ValueExtractor is used for value extraction during index creation and is the extractor that is associated with the created coherence::util::ConditionalIndex in the given index map. Using the ConditionalExtractor to extract values is not supported.

Author:
tb/lh 2010.08.31
Since:
Coherence 3.6

Public Types

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

Public Member Functions

virtual MapIndex::Handle createIndex (bool fOrdered, Comparator::View vComparator, Map::Handle hMapIndex) const
 
virtual MapIndex::Handle destroyIndex (Map::Handle hMapIndex) const
 
virtual Object::Holder extract (Object::Holder ohTarget) const
 Using a ConditionalExtractor to extract values in not supported.
virtual void readExternal (PofReader::Handle hIn)
 
virtual void writeExternal (PofWriter::Handle hOut) const
 
virtual TypedHandle
< const String > 
toString () const
 
virtual bool equals (Object::View v) const
 
virtual size32_t hashCode () const
 

Protected Member Functions

 ConditionalExtractor ()
 Construct the ConditionalExtractor.
 ConditionalExtractor (Filter::View vFilter, ValueExtractor::View vExtractor, bool fForwardIndex)
 Construct the ConditionalExtractor.

Protected Attributes

FinalView< Filterf_vFilter
 The filter used by this extractor.
FinalView
< ValueExtractor
f_vExtractor
 The underlying extractor.
bool m_fForwardIndex
 Specifies whether or not this extractor will create a coherence::util::ConditionalIndex that supports a forward index.

Constructor & Destructor Documentation

ConditionalExtractor ( Filter::View  vFilter,
ValueExtractor::View  vExtractor,
bool  fForwardIndex 
) [protected]

Construct the ConditionalExtractor.

Parameters:
vFilter the filter used by this extractor to create a ConditionalIndex; must not be NULL
vExtractor the extractor used by this extractor to create a ConditionalIndex; Note that the created index will be associated with this extractor in the given index map; must not be NULL
fForwardIndex specifies whether or not this extractor will create a ConditionalIndex that supports a forward map


Member Function Documentation

virtual Object::Holder extract ( Object::Holder  ohTarget  )  const [virtual]

Using a ConditionalExtractor to extract values in not supported.

Exceptions:
UnsupportedOperationException always

Reimplemented from AbstractExtractor.


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